Commit 5b9edb07433f5a790b6d3e185ee247ffa067ef37

Authored by 后端研发-苏明海
2 parents 24b92218 20782b6a

Merge branch 'test' into 'qa'

Test

See merge request !71
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