修改刷新token问题
parent
ea60742d82
commit
c756223363
|
@ -108,10 +108,10 @@ http.interceptors.response.use(
|
|||
isNavigateTo = false
|
||||
/* 请求之后拦截器。可以使用async await 做异步操作 */
|
||||
// token存在并且token过期
|
||||
if (isRefreshing && response.statusCode === 403) {
|
||||
cleanStorage();
|
||||
isRefreshing = false;
|
||||
}
|
||||
// if (isRefreshing && response.statusCode === 403) {
|
||||
// cleanStorage();
|
||||
// isRefreshing = false;
|
||||
// }
|
||||
|
||||
let token = storage.getAccessToken();
|
||||
if (
|
||||
|
|
Loading…
Reference in New Issue