mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-12 21:52:48 +00:00
refreshToken 失效重新登录
This commit is contained in:
parent
ebdad4734f
commit
d909c1fadb
@ -76,7 +76,7 @@ request.interceptors.request.use(
|
||||
isRefreshing = false;
|
||||
})
|
||||
.catch(() => {
|
||||
user.clear();
|
||||
user.logout();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user