From 7a2084c90ed29a4ec9d4267deb2b78f0d49c904d Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 23 七月 2024 09:56:34 +0800
Subject: [PATCH] ‘’

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

diff --git a/wechat_jiaxuan/components/disProduct/index.js b/wechat_jiaxuan/components/disProduct/index.js
index 88d9997..abd00dd 100644
--- a/wechat_jiaxuan/components/disProduct/index.js
+++ b/wechat_jiaxuan/components/disProduct/index.js
@@ -61,10 +61,13 @@
       }).then(res => {
         this.setData({
           secondCateList: res.data || [],
+          activeParam: []
         })
       })
     },
     bindblur() {
+      console.log('澶卞幓鐒︾偣');
+      this.setData({ pageNum: 1,datalist: [],total: 0})
       this.getList()
     },
     getList() {
@@ -160,7 +163,7 @@
         item.paramIndex = -1
         item.paramName = ''
       })
-      this.setData({ tagCodes: [],activeParam: [],cateList,activeIndex: -1 })
+      this.setData({ tagCodes: [],activeParam: [],secondCateList,activeIndex: -1 })
     },
     subParam() {
       this.setData({ activeParam: [] })

--
Gitblit v1.9.3