@ -373,7 +373,7 @@ onMounted(() => {
// 开始检测
const checkInit = () => {
const hasExecutedReset = sessionStorage.getItem('deviceResetFinished');
if (hasExecutedReset === "false") {
if (!hasExecutedReset || hasExecutedReset === 'false') {
showModal.value = true;
}
};
@ -1055,6 +1055,11 @@ onMounted(() => {
startPolling()
})
onDeactivated(() => {
clearInterval(pollInterval)
stopPolling()
onUnmounted(() => {