refreshToken 失效重新登录

This commit is contained in:
神仙都没用 2023-11-22 14:19:18 +08:00
parent ebdad4734f
commit d909c1fadb

View File

@ -76,7 +76,7 @@ request.interceptors.request.use(
isRefreshing = false;
})
.catch(() => {
user.clear();
user.logout();
});
}