Commit dad70a80f15082534b3329c2201cd2f7642a30be

Authored by 后端研发-苏明海
2 parents 4d38fed5 52be705b

Merge branch 'dev' into 'test'

订单列表的,点击跳到相应的位置

See merge request !49
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 },
... ...