Commit 876c529e948574323acd055a20170502727d8f02
1 parent
23efda35
控制标签的优化
Showing
1 changed file
with
1 additions
and
1 deletions
pages/goods/categoryList/categoryList.js
@@ -268,7 +268,7 @@ Page({ | @@ -268,7 +268,7 @@ Page({ | ||
268 | else if (that.data.is_show_xm) {that.setData({ currentTab: 3 });that.getServiceCategory(); } | 268 | else if (that.data.is_show_xm) {that.setData({ currentTab: 3 });that.getServiceCategory(); } |
269 | 269 | ||
270 | 270 | ||
271 | - var t_type=this.data.type; | 271 | + var t_type=that.data.type; |
272 | //----求传参过来的控制----- | 272 | //----求传参过来的控制----- |
273 | if (t_type == 1 && that.data.is_show_gb ) { | 273 | if (t_type == 1 && that.data.is_show_gb ) { |
274 | that.setData({ currentTab: 1 }); | 274 | that.setData({ currentTab: 1 }); |