panqiuyao 8 месяцев назад
Родитель
Сommit
65bd84a874
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      frontend/src/composables/userCheck.ts

+ 1 - 1
frontend/src/composables/userCheck.ts

@@ -6,7 +6,7 @@ export function useCheckInfo() {
             ShowError()
         }
         window.addEventListener('storage',(e)=>{
-            if(e.key === 'check' && e.newValue === false && e.oldValue === true){
+            if(e.key === 'check' && e.newValue === 'false' && e.oldValue === 'true'){
                 ShowError()
             }
         })