|
|
@ -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() { |
|
|
|