diff --git a/components/diy/diy.vue b/components/diy/diy.vue index 3dfb1a1e..9d71f4c5 100644 --- a/components/diy/diy.vue +++ b/components/diy/diy.vue @@ -22,7 +22,7 @@ - + @@ -119,7 +119,7 @@ propkey: { type: String, default: '', - } + }, }, components: { componentDiyHeader, @@ -218,11 +218,11 @@ watch: { propkey(val) { this.setData({ - diy_key: val - }) + diy_key: val, + }); // 初始化 this.init(); - } + }, }, created() { // 初始化配置 @@ -274,6 +274,7 @@ let new_data = []; this.setData({ is_tabs_type: bool, + tabs_id: tabs_id, }); let new_params = { ...params, @@ -315,6 +316,9 @@ }, }); } else { + this.setData({ + goods_page: 1, + }); this.get_goods_list(1); } } else {