From b26da15df0f71a11e7d04abd0aa2284d8b8cdef0 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 24 七月 2024 17:22:21 +0800
Subject: [PATCH] 提交
---
wechat_jiaxuan/components/disProduct/index.js | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/wechat_jiaxuan/components/disProduct/index.js b/wechat_jiaxuan/components/disProduct/index.js
index 88d9997..cc33cd8 100644
--- a/wechat_jiaxuan/components/disProduct/index.js
+++ b/wechat_jiaxuan/components/disProduct/index.js
@@ -61,10 +61,13 @@
}).then(res => {
this.setData({
secondCateList: res.data || [],
+ activeParam: []
})
})
},
bindblur() {
+ console.log('澶卞幓鐒︾偣');
+ this.setData({ pageNum: 1,datalist: [],total: 0})
this.getList()
},
getList() {
@@ -93,7 +96,7 @@
},
cateClick(e) {
const catalogCode = e.currentTarget.dataset.code
- this.setData({ catalogCode })
+ this.setData({ catalogCode, tagCodes: [] })
this.setData({ pageNum: 1,datalist: [],total: 0})
this.getTag()
this.getList()
@@ -160,7 +163,7 @@
item.paramIndex = -1
item.paramName = ''
})
- this.setData({ tagCodes: [],activeParam: [],cateList,activeIndex: -1 })
+ this.setData({ tagCodes: [],activeParam: [],secondCateList,activeIndex: -1 })
},
subParam() {
this.setData({ activeParam: [] })
--
Gitblit v1.9.3