diff --git a/pages/user/order_list/order_list.js b/pages/user/order_list/order_list.js index 9697ba9..310ecec 100644 --- a/pages/user/order_list/order_list.js +++ b/pages/user/order_list/order_list.js @@ -30,7 +30,8 @@ Page({ is_get:0, }, onLoad: function(t) { - var e = void 0 === t.type ? this.data.activeCategoryId : t.type; + //var e = void 0 === t.type ? this.data.activeCategoryId : t.type; + if(t.type!=undefined) this.setData({activeCategoryId:t.type}) s.init(this, "", "orderList"); //this.requestOrderList(e), wx.removeStorageSync("order:order_list:update"); },