Commit 20782b6a458f9e91428d02a889427dd5d4134e26

Authored by 后端研发-苏明海
2 parents 5927a939 69337e60

Merge branch 'dev' into 'test'

确认收货的bug修复

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