mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08: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…
Reference in New Issue
Block a user