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

---
 wechat_jiaxuan/components/disCase/index.js |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/wechat_jiaxuan/components/disCase/index.js b/wechat_jiaxuan/components/disCase/index.js
index fe190d4..9c5c9cb 100644
--- a/wechat_jiaxuan/components/disCase/index.js
+++ b/wechat_jiaxuan/components/disCase/index.js
@@ -24,6 +24,7 @@
   },
   attached() {
     this.getCatelist()
+    this.getList()
   },
   methods: {
     getCatelist() {
@@ -35,9 +36,6 @@
           this.setData({
             cateList: res.data
           })
-          setTimeout(() => {
-            this.getList()
-          }, 300)
         }
       })
     },
@@ -104,7 +102,7 @@
       const { cateList, tagCodes, activeParam, activeIndex } = this.data
       const index = tagCodes.indexOf(code)
 
-      if (index === -1) {
+      if (cateList[activeIndex].tempParamIndex==null ||     cateList[activeIndex].tempParamIndex != paramIndex) {
         // // 鍚宲aram閲宑ode閲嶅
         // if (activeParam && activeParam.length > 0) {
         //   activeParam.forEach(item => {

--
Gitblit v1.9.3