修改登录判断

This commit is contained in:
A1300399510
2024-08-13 17:41:51 +08:00
parent 82ec9322cf
commit 8a00e836c2
10 changed files with 64 additions and 64 deletions

View File

@@ -1042,7 +1042,7 @@ export default {
let timer = setInterval(() => {
if (Object.keys(window["userInfoWin"]).length !== 0) {
clearInterval(timer)
if (window["userInfoWin"]["uid"]) isNeedLogin.value = false
if (window["userInfoWin"]["uid"] || window["userInfoWin"]["uin"]) isNeedLogin.value = false
}
count++
if (count >= 10) clearInterval(timer)