优化登录身份缓存机制

This commit is contained in:
eoao
2025-07-04 20:02:00 +08:00
parent 7a0711071d
commit e2aeaf3783
4 changed files with 6 additions and 5 deletions

View File

@@ -96,6 +96,10 @@ const loginService = {
if (authInfo) {
if (authInfo.tokens.length > 10) {
authInfo.tokens.shift();
}
authInfo.tokens.push(uuid);
} else {