From fc8133ed1d1d6a389fb0fe637a3d48a6558e2879 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期一, 29 七月 2024 13:46:28 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia

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

diff --git a/wechat_staff/components/disCase/index.js b/wechat_staff/components/disCase/index.js
index 60e2683..441e32a 100644
--- a/wechat_staff/components/disCase/index.js
+++ b/wechat_staff/components/disCase/index.js
@@ -118,9 +118,10 @@
     },
     cancelParam() {
       const { cateList } = this.data
+      console.log('cateList', cateList);
       cateList.forEach(item => {
         item.paramIndex = -1
-        item.paramName = ''
+        item.paramName = item.paramName || ''
       })
       this.setData({ tagCodes: [],activeParam: [],cateList,activeIndex: -1 })
     },
@@ -130,7 +131,7 @@
     },
     subParam() {
       this.setData({ activeParam: [] })
-      this.setData({ pageNum: 1,dataList: [],total: 0})
+      this.setData({ pageNum: 1,activeIndex: -1,dataList: [],total: 0})
       this.getList()
     },
     changeShowParams(e){

--
Gitblit v1.9.3