mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-07 17:07:19 +08:00
fix: axios 响应拦截器错误 未正确关闭
This commit is contained in:
parent
821242729f
commit
1bf3a6f93b
@ -191,6 +191,7 @@ class EnclosureHttp {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$error.isCancelRequest = Axios.isCancel($error);
|
$error.isCancelRequest = Axios.isCancel($error);
|
||||||
|
NProgress.done();
|
||||||
// 所有的响应异常 区分来源为取消请求/非取消请求
|
// 所有的响应异常 区分来源为取消请求/非取消请求
|
||||||
return Promise.reject($error);
|
return Promise.reject($error);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user