zs 1 năm trước cách đây
mục cha
commit
a551b51755
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      pages/home/index.vue

+ 2 - 0
pages/home/index.vue

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