optimize(projects): 优化接口请求异常拦截代码
This commit is contained in:
parent
031d071af1
commit
471912e17f
@ -95,6 +95,8 @@ export const request = createFlatRequest<App.Service.Response, RequestInstanceSt
|
|||||||
|
|
||||||
request.cancelAllRequest();
|
request.cancelAllRequest();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// when the backend response code is in `expiredTokenCodes`, it means the token is expired, and refresh token
|
// when the backend response code is in `expiredTokenCodes`, it means the token is expired, and refresh token
|
||||||
|
Loading…
Reference in New Issue
Block a user