guhongwei 2 years ago
parent
commit
092a5eaa67
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pagesRest/activity/info.vue

+ 2 - 2
pagesRest/activity/info.vue

@@ -11,7 +11,7 @@
 				</view>
 				<view class="one_2" v-else-if="barActive=='1'">
 					<view class="one_2_1">
-						<input type="text" v-model="searchInfo.name" @blur="toInput" placeholder="搜索商品">
+						<input type="text" v-model="searchInfo.goods_name" @blur="toInput" placeholder="搜索商品">
 					</view>
 					<view class="one_2_2">
 						<scroll-view scroll-y="true" class="scroll-view" @scrolltolower="toPage" @scroll="toScroll">
@@ -155,7 +155,7 @@
 			// 输入框
 			toInput(e) {
 				const that = this;
-				if (e.detail.value) that.$set(that.searchInfo, `name`, e.detail.value);
+				if (e.detail.value) that.$set(that.searchInfo, `goods_name`, e.detail.value);
 				else that.$set(that, `searchInfo`, {});
 				that.clearPage();
 				that.search();