Commit 5b9edb07433f5a790b6d3e185ee247ffa067ef37
Merge branch 'test' into 'qa'
Test See merge request !71
Showing
1 changed file
with
1 additions
and
0 deletions
pages/user/order_list/order_list.js
@@ -289,6 +289,7 @@ Page({ | @@ -289,6 +289,7 @@ Page({ | ||
289 | }, | 289 | }, |
290 | 290 | ||
291 | deleteOrderData2:function(order_id){ | 291 | deleteOrderData2:function(order_id){ |
292 | + var th=this; | ||
292 | for (var e = 0; e < th.data.orderList.length; e++) if (th.data.orderList[e].order_id == order_id) { | 293 | for (var e = 0; e < th.data.orderList.length; e++) if (th.data.orderList[e].order_id == order_id) { |
293 | th.data.orderList.splice(e, 1), th.setData({ | 294 | th.data.orderList.splice(e, 1), th.setData({ |
294 | orderList: this.data.orderList | 295 | orderList: this.data.orderList |