Commit 52be705b8aaaac3176b9a92437df328b7ea367cf
1 parent
d9494925
订单列表的,点击跳到相应的位置
Showing
1 changed file
with
2 additions
and
1 deletions
pages/user/order_list/order_list.js
... | ... | @@ -30,7 +30,8 @@ Page({ |
30 | 30 | is_get:0, |
31 | 31 | }, |
32 | 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 | 35 | s.init(this, "", "orderList"); |
35 | 36 | //this.requestOrderList(e), wx.removeStorageSync("order:order_list:update"); |
36 | 37 | }, | ... | ... |