Commit dad70a80f15082534b3329c2201cd2f7642a30be
Merge branch 'dev' into 'test'
订单列表的,点击跳到相应的位置 See merge request !49
Showing
1 changed file
with
2 additions
and
1 deletions
pages/user/order_list/order_list.js
@@ -30,7 +30,8 @@ Page({ | @@ -30,7 +30,8 @@ Page({ | ||
30 | is_get:0, | 30 | is_get:0, |
31 | }, | 31 | }, |
32 | onLoad: function(t) { | 32 | onLoad: function(t) { |
33 | - var e = void 0 === t.type ? this.data.activeCategoryId : t.type; | 33 | + //var e = void 0 === t.type ? this.data.activeCategoryId : t.type; |
34 | + if(t.type!=undefined) this.setData({activeCategoryId:t.type}) | ||
34 | s.init(this, "", "orderList"); | 35 | s.init(this, "", "orderList"); |
35 | //this.requestOrderList(e), wx.removeStorageSync("order:order_list:update"); | 36 | //this.requestOrderList(e), wx.removeStorageSync("order:order_list:update"); |
36 | }, | 37 | }, |