wangfei 6 lat temu
rodzic
commit
b2181b3925
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      src/pages/system/newOrder/newOrderList/index.vue

+ 2
- 2
src/pages/system/newOrder/newOrderList/index.vue Wyświetl plik

@@ -219,7 +219,7 @@ export default {
219 219
             message: '确认订单成功'
220 220
           })
221 221
 
222
-          this.updateList({ list: this.ordersList.filter(x => x.OrdersId !== id) })
222
+          this.updateList(this.ordersList.filter(x => x.OrdersId !== id))
223 223
         })
224 224
       }).catch((res) => {
225 225
         this.$message({
@@ -240,7 +240,7 @@ export default {
240 240
             message: '取消订单成功'
241 241
           })
242 242
 
243
-          this.updateList({ list: this.ordersList.filter(x => x.OrdersId !== id) })
243
+          this.updateList(this.ordersList.filter(x => x.OrdersId !== id))
244 244
         })
245 245
       }).catch((res) => {
246 246
         this.$message({