From 1a6905045d38bb50b0c6554c3440bdfd339c8d23 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 30 七月 2024 19:13:46 +0800
Subject: [PATCH] ‘’

---
 wechat_staff/components/disProduct/index.js |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/wechat_staff/components/disProduct/index.js b/wechat_staff/components/disProduct/index.js
index 2e23c6d..d92ef71 100644
--- a/wechat_staff/components/disProduct/index.js
+++ b/wechat_staff/components/disProduct/index.js
@@ -120,9 +120,8 @@
     tagClick(e) {
       const code = e.currentTarget.dataset.code
       const paramIndex = e.currentTarget.dataset.index
-      const { secondCateList, tagCodes, activeParam, activeIndex } = this.data
-      const index = tagCodes.indexOf(code)
-      if(index === -1){
+      const { secondCateList, tagCodes, activeParam, activeIndex } = this.data 
+      if( secondCateList[activeIndex].tempParamIndex==null ||      secondCateList[activeIndex].tempParamIndex != paramIndex){
          // 鍚宲aram閲宑ode閲嶅
         // if (activeParam && activeParam.length > 0) {
         //   activeParam.forEach(item => {

--
Gitblit v1.9.3