From 52be705b8aaaac3176b9a92437df328b7ea367cf Mon Sep 17 00:00:00 2001 From: yvan.ni <765199919@qq.com> Date: Mon, 23 Sep 2019 18:01:42 +0800 Subject: [PATCH] 订单列表的,点击跳到相应的位置 --- pages/user/order_list/order_list.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); }, -- libgit2 0.21.4