Browse Source

优化功能

dev
LiLongLong 7 months ago
parent
commit
497f9c0554
  1. 2
      src/pages/Index/Index.vue
  2. 5
      src/pages/Index/Regular/Running.vue

2
src/pages/Index/Index.vue

@ -373,7 +373,7 @@ onMounted(() => {
//
const checkInit = () => {
const hasExecutedReset = sessionStorage.getItem('deviceResetFinished');
if (hasExecutedReset === "false") {
if (!hasExecutedReset || hasExecutedReset === 'false') {
showModal.value = true;
}
};

5
src/pages/Index/Regular/Running.vue

@ -1055,6 +1055,11 @@ onMounted(() => {
startPolling()
})
onDeactivated(() => {
clearInterval(pollInterval)
stopPolling()
})
onUnmounted(() => {
clearInterval(pollInterval)
stopPolling()

Loading…
Cancel
Save