zs 1 год назад
Родитель
Сommit
a551b51755
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      pages/home/index.vue

+ 2 - 0
pages/home/index.vue

@@ -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`, {})