From a4d97e2ad2e625f664448782c220ba1e4b1f670a Mon Sep 17 00:00:00 2001 From: "DESKTOP-RQ919RC\\Pc" <1300399510@qq.com> Date: Thu, 3 Apr 2025 19:07:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=AA=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E7=8A=B6=E6=80=81=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.vue b/app.vue index a6bf96c..7635796 100644 --- a/app.vue +++ b/app.vue @@ -701,7 +701,7 @@ export default { const determineIsLogin = () => { let count = 0; let timer = setInterval(() => { - if (Object.keys(window["userInfoWin"]).length !== 0) { + if (window["userInfoWin"] && Object.keys(window["userInfoWin"]).length !== 0) { clearInterval(timer); user.value = window["userInfoWin"]; if (window["userInfoWin"]["uid"] || window["userInfoWin"]["uin"]) isNeedLogin.value = false;