-
Status changed to merged
-
mentioned in commit 20782b6a458f9e91428d02a889427dd5d4134e26
Showing
1 changed file
pages/user/order_list/order_list.js
... | ... | @@ -289,6 +289,7 @@ Page({ |
289 | 289 | }, |
290 | 290 | |
291 | 291 | deleteOrderData2:function(order_id){ |
292 | + var th=this; | |
292 | 293 | for (var e = 0; e < th.data.orderList.length; e++) if (th.data.orderList[e].order_id == order_id) { |
293 | 294 | th.data.orderList.splice(e, 1), th.setData({ |
294 | 295 | orderList: this.data.orderList | ... | ... |