From e2407729e2316177a3ad0f6d6369df09494fa05d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Thu, 26 Sep 2024 18:17:32 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9diy=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/diy/diy.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/diy/diy.vue b/components/diy/diy.vue index 741bfe36..a1bd5662 100644 --- a/components/diy/diy.vue +++ b/components/diy/diy.vue @@ -2,7 +2,7 @@ - + @@ -11,7 +11,7 @@ @@ -184,9 +184,9 @@ goods_bottom_line_status: false, // 判断数据是否在加载中 data_is_loading: 0, - key: '', // 缓存key cache_key: app.globalData.data.cache_diy_data_key, + hackReset: false, }; }, created() { @@ -215,7 +215,7 @@ init() { // tabs选项卡数据过滤 this.setData({ - key: Math.random(), + hackReset: true, header_data: this.propValue.header, footer_data: this.propValue.footer, diy_data: this.propValue.diy_data, From cb473644f6a2de11af84e7c0e2f158c4242baf8e Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Thu, 26 Sep 2024 18:17:42 +0800 Subject: [PATCH 2/2] =?UTF-8?q?1.diy---=E7=BD=AE=E9=A1=B6=E5=BC=80?= =?UTF-8?q?=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/diy/modules/tabs-view.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/diy/modules/tabs-view.vue b/components/diy/modules/tabs-view.vue index ccf4beac..247be6fe 100644 --- a/components/diy/modules/tabs-view.vue +++ b/components/diy/modules/tabs-view.vue @@ -1,5 +1,5 @@