Browse Source

🐛 画轴底部bottom变负数

shaogen1995 1 năm trước cách đây
mục cha
commit
ecab6e9d5d
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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)