fix(projects): 修复切换用户或登录过期部分问题

This commit is contained in:
xlsea
2025-06-18 21:07:59 +08:00
parent 72b8f56e32
commit 27f061957e
2 changed files with 7 additions and 0 deletions

View File

@ -61,6 +61,7 @@ const callbackByCode = async (data: Api.Auth.SocialLoginForm) => {
const loginByCode = async (data: Api.Auth.SocialLoginForm) => {
try {
await authStore.logout();
await authStore.login(data);
await processResponse();
} catch {