Browse Source

bug修改

wangfei 6 years ago
parent
commit
2a7d239861
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/pages/system/newOrder/newOrderList/index.vue

+ 2
- 2
src/pages/system/newOrder/newOrderList/index.vue View File

@@ -265,9 +265,9 @@ export default {
265 265
     receviedNewOrders (e) {
266 266
       const newOrders = JSON.parse(e.data).data.refreshOnlineGoodsOrders
267 267
       if (!newOrders || !newOrders.length) return
268
-
268
+      const newList = this.ordersList.concat(newOrders)
269 269
       // 放入待制作队列
270
-      this.updateList({ list: this.ordersList.concat(newOrders) })
270
+      this.updateList({ list: newList })
271 271
 
272 272
       // 放入待打队列
273 273
       const ps = newOrders.filter(x => x.IsIntimidate === 0).map((orders) => {