Ver código fonte

mod:初始化调整

panqiuyao 8 meses atrás
pai
commit
65bd84a874
1 arquivos alterados com 1 adições e 1 exclusões
  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()
             }
         })