diff --git a/pages/user/order_list/order_list.js b/pages/user/order_list/order_list.js index 13a4a16..517a8d0 100644 --- a/pages/user/order_list/order_list.js +++ b/pages/user/order_list/order_list.js @@ -289,6 +289,7 @@ Page({ }, deleteOrderData2:function(order_id){ + var th=this; for (var e = 0; e < th.data.orderList.length; e++) if (th.data.orderList[e].order_id == order_id) { th.data.orderList.splice(e, 1), th.setData({ orderList: this.data.orderList