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