From 734d00f16a19f0f41fe6a217ee58f2af24ca7152 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 25 七月 2024 13:50:29 +0800
Subject: [PATCH] 提交

---
 wechat_jiaxuan/components/disProduct/index.js |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/wechat_jiaxuan/components/disProduct/index.js b/wechat_jiaxuan/components/disProduct/index.js
index abd00dd..d1d3649 100644
--- a/wechat_jiaxuan/components/disProduct/index.js
+++ b/wechat_jiaxuan/components/disProduct/index.js
@@ -96,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()
@@ -138,7 +138,6 @@
         secondCateList[activeIndex].paramIndex = -1
         secondCateList[activeIndex].paramName = ''
       }
-      this.setData({ pageNum: 1,datalist: [],total: 0})
       this.setData({ tagCodes, secondCateList })
     },
     changeShowParams(e){
@@ -154,7 +153,6 @@
           activeParam: secondCateList[activeIndex].valueVos
         })
       }
-      console.log('activeParam', this.data.activeParam);
       // this.setData({showTwo: false})
     },
     cancelParam() {

--
Gitblit v1.9.3