Commit 2778630d by 冷斌

add

parent 590a94ea
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</div> </div>
</div> </div>
</div> </div>
<div @click="add(value.id)" class="addText">添加</div> <div v-if="!value.type" @click="add(value.id)" class="addText">添加</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
this.world = ''; this.world = '';
}, },
search: function () { search: function () {
let url = "/api/public/?service=Home.search&key="+this.world+"&uid={$uid}&token={$token}&p=1"; let url = "/api/public/?service=Home.search&key="+this.world+"&uid={$uid}&token={$token}&p=1&type=1";
let _this = this; let _this = this;
$.get(url, function (data) { $.get(url, function (data) {
_this.list = data.data.info; _this.list = data.data.info;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment