loulijun2021
2023-05-30 580cb6210db496d1aee9fd4b0871ab0f0e637be2
src/views/kanbanManager/zhkb.vue
@@ -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)
      })
    },