diff --git a/src/views/choujiang/lottery/Lottery3D.vue b/src/views/choujiang/lottery/Lottery3D.vue index 7299186..4827515 100644 --- a/src/views/choujiang/lottery/Lottery3D.vue +++ b/src/views/choujiang/lottery/Lottery3D.vue @@ -769,7 +769,7 @@ onMounted(async () => { }, 500); window.addEventListener("resize", onWindowResize); - swapInterval.value = setInterval(swapCardContents, swapIntervalTime.value); +// swapInterval.value = setInterval(swapCardContents, swapIntervalTime.value); }); onBeforeUnmount(() => { @@ -780,10 +780,10 @@ onBeforeUnmount(() => { clearTimeout(highlightTimeout); highlightTimeout = null; } - if (swapInterval.value) { - clearInterval(swapInterval.value); - swapInterval.value = null; - } + // if (swapInterval.value) { + // clearInterval(swapInterval.value); + // swapInterval.value = null; + // } }); function render() {