optimize(projects): 优化接口请求异常拦截代码

This commit is contained in:
xlsea 2025-06-19 09:33:46 +08:00
parent 031d071af1
commit 471912e17f

View File

@ -95,6 +95,8 @@ export const request = createFlatRequest<App.Service.Response, RequestInstanceSt
request.cancelAllRequest();
}
return null;
}
// when the backend response code is in `expiredTokenCodes`, it means the token is expired, and refresh token