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, 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 @@