mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-06-23 18:42:52 +08:00
打包
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user