|
@@ -150,6 +150,7 @@
|
|
|
that.search();
|
|
|
that.$set(that, `focus`, false)
|
|
|
},
|
|
|
+ // 点击查看商品名称列表
|
|
|
async focusHandler(e) {
|
|
|
const that = this;
|
|
|
let res;
|
|
@@ -163,6 +164,7 @@
|
|
|
if (res.errcode == '0') that.$set(that, `goodsList`, res.data)
|
|
|
that.$set(that, `focus`, true)
|
|
|
},
|
|
|
+ // 取消搜索
|
|
|
cancelHandler(e) {
|
|
|
const that = this;
|
|
|
that.$set(that, `searchInfo`, {})
|