This commit is contained in:
Jason
2022-09-20 15:44:27 +08:00
parent 51b35b664d
commit db45652f28
136 changed files with 134 additions and 134 deletions

View File

@@ -71,7 +71,7 @@ export class Axios {
this.removeCancelToken(err.config?.url!)
}
if (err.code == AxiosError.ECONNABORTED) {
if (err.code == AxiosError.ECONNABORTED || err.code == AxiosError.ERR_NETWORK) {
setTimeout(() => {
console.log(err)
this.retryRequest(err)