瀏覽代碼

mod:初始化调整

panqiuyao 8 月之前
父節點
當前提交
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()
             }
         })