Parcourir la source

Merge branch 'dev' of http://git.ycjcjy.com/SpaceOfCheng/admin into dev

许成详 il y a 6 ans
Parent
révision
b7dd3ef315
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      src/pages/system/newOrder/newOrderList/index.vue

+ 1
- 1
src/pages/system/newOrder/newOrderList/index.vue Voir le fichier

148
         })
148
         })
149
         this.interval = setInterval(() => {
149
         this.interval = setInterval(() => {
150
           const now = (new Date()).valueOf()
150
           const now = (new Date()).valueOf()
151
-          this.leftTimes = this.list.reduce((acc, it) => {
151
+          this.leftTimes = this.currentList.reduce((acc, it) => {
152
             const showDT = now - ((new Date(it.CreateDate)).valueOf())
152
             const showDT = now - ((new Date(it.CreateDate)).valueOf())
153
             return { ...acc, [`${it.OrdersId}`]: formatTimeBySeconds(showDT) }
153
             return { ...acc, [`${it.OrdersId}`]: formatTimeBySeconds(showDT) }
154
           }, {})
154
           }, {})