Procházet zdrojové kódy

🐛 画轴底部bottom变负数

shaogen1995 před 1 rokem
rodič
revize
ecab6e9d5d
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  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)