From 8d48f2f55453635bf60e5e00d1e4746288e9da67 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期一, 22 七月 2024 15:36:18 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
 wechat_jiaxuan/components/disCase/index.js |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/wechat_jiaxuan/components/disCase/index.js b/wechat_jiaxuan/components/disCase/index.js
index 835f66a..4c40367 100644
--- a/wechat_jiaxuan/components/disCase/index.js
+++ b/wechat_jiaxuan/components/disCase/index.js
@@ -96,6 +96,15 @@
       const index = tagCodes.indexOf(code)
       
       if(index === -1){
+        // 鍚宲aram閲宑ode閲嶅
+        if(activeParam && activeParam.length > 0){
+          activeParam.forEach(item => {
+            const indexTemp = tagCodes.indexOf(item.labelValueCode)
+            if(indexTemp > -1){
+              tagCodes.splice(indexTemp, 1)
+            }
+          })
+        }
         tagCodes.push(code)
         cateList[activeIndex].paramIndex = paramIndex
         cateList[activeIndex].paramName = activeParam[paramIndex].labelValueName
@@ -121,6 +130,7 @@
     },
     subParam() {
       this.setData({ activeParam: [] })
+      this.setData({ pageNum: 1,dataList: [],total: 0})
       this.getList()
     },
     changeShowParams(e){
--
Gitblit v1.9.3