瀏覽代碼

🐛 画轴底部bottom变负数

shaogen1995 1 年之前
父節點
當前提交
ecab6e9d5d
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/components/PaintingDetailBox.vue

+ 3 - 0
src/components/PaintingDetailBox.vue

@@ -101,6 +101,9 @@ onMounted(() => {
         }
       }, 600)
       clearInterval(tiemrr.value)
+
+      if (zhouMove.value >= 100) return
+
       tiemrr.value = setInterval(() => {
         console.log('interval')
         if (zhouMove.value >= 99) clearInterval(tiemrr.value)