loulijun2021
2023-05-10 4ee759bd3226bb2f686c99b3d93e26b4128f07a4
src/views/kanbanManager/zhkb.vue
@@ -289,7 +289,7 @@
  LineSearchTopLeftData,
  LineSearchTopRightData,
  ShopSearch
} from '@/api/dzkb'
} from '@/api/kanbanManager'
import { parseTime } from '@/utils'
export default {
@@ -471,12 +471,13 @@
        const timer = setInterval(() => {
          startValue = startValue + scale
          this.tableDataLeftBottom = this.tableDataLeftBottomTemp.slice(startValue, startValue + scale)
          nowLoop++ // 放在这里可以了,就等待零点几秒
          if (nowLoop === loop) {
            clearInterval(timer)
            this.getLeftBottomData()
          }
          nowLoop++
          // nowLoop++ //之前放在这里逻辑不对,相差了一次的循环,相当于多等待了10秒
        }, 1000 * 10)
      })
    },