|
|
@@ -159,9 +159,10 @@
|
|
|
tempTip.setDuration(2000);
|
|
|
if (response.data.success) {
|
|
|
tempTip.showSuccess('恢复成功');
|
|
|
- _this.orderIssues.forEach(function(item,index){
|
|
|
- if(_this.checkData.includes(item.id)) _this.orderIssues.splice(index,1);
|
|
|
- })
|
|
|
+ for (let i = _this.orderIssues.length -1;i >= 0;i--){
|
|
|
+ if(_this.checkData.includes(_this.orderIssues[i].id))
|
|
|
+ _this.orderIssues.splice(i,1);
|
|
|
+ }
|
|
|
} else {
|
|
|
tempTip.show(response.data.error);
|
|
|
}
|