mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
fix(projects): 修复切换用户或登录过期部分问题
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user