Browse Source

bug修改

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

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

145
       }
145
       }
146
       clearInterval(this.interval)
146
       clearInterval(this.interval)
147
       this.GetOrdersList({ caseid: this.caseid }).then((res) => {
147
       this.GetOrdersList({ caseid: this.caseid }).then((res) => {
148
-        for (var n = 0; n < res.list.length; n++) {
148
+        for (var n = 0; n < (res.list || []).length; n++) {
149
           if (res.list[n].IsIntimidate === 0) {
149
           if (res.list[n].IsIntimidate === 0) {
150
             param.push(res.list[n].OrdersId)
150
             param.push(res.list[n].OrdersId)
151
           }
151
           }