From 28c725308aaf418e9032964ffcf5ca3b0d8a1208 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期四, 25 七月 2024 17:13:56 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
wechat_staff/components/disProduct/index.js | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/wechat_staff/components/disProduct/index.js b/wechat_staff/components/disProduct/index.js
index cc33cd8..f14e186 100644
--- a/wechat_staff/components/disProduct/index.js
+++ b/wechat_staff/components/disProduct/index.js
@@ -6,10 +6,6 @@
properties: {
menuButtonInfo: Object
},
-
- /**
- * 缁勪欢鐨勫垵濮嬫暟鎹�
- */
data: {
activeIndex: -1,
activeParam: [],
@@ -118,8 +114,6 @@
const paramIndex = e.currentTarget.dataset.index
const { secondCateList, tagCodes, activeParam, activeIndex } = this.data
const index = tagCodes.indexOf(code)
- console.log('code', code);
- console.log('tagCodes', tagCodes);
if(index === -1){
// 鍚宲aram閲宑ode閲嶅
if(activeParam && activeParam.length > 0){
@@ -138,7 +132,6 @@
secondCateList[activeIndex].paramIndex = -1
secondCateList[activeIndex].paramName = ''
}
- this.setData({ pageNum: 1,datalist: [],total: 0})
this.setData({ tagCodes, secondCateList })
},
changeShowParams(e){
@@ -164,6 +157,7 @@
item.paramName = ''
})
this.setData({ tagCodes: [],activeParam: [],secondCateList,activeIndex: -1 })
+ this.getList()
},
subParam() {
this.setData({ activeParam: [] })
--
Gitblit v1.9.3