iconList 组件修复

This commit is contained in:
pixel
2020-04-29 17:22:05 +08:00
parent 9b2acbae11
commit 9185d573ab
3 changed files with 7 additions and 23 deletions

View File

@@ -21,13 +21,13 @@ const showLoading = () => {
}
const closeLoading = () => {
acitveAxios--
if (acitveAxios <= 0) {
clearTimeout(timer)
loadingInstance && loadingInstance.close()
acitveAxios--
if (acitveAxios <= 0) {
clearTimeout(timer)
loadingInstance && loadingInstance.close()
}
}
}
//http request 拦截器
//http request 拦截器
service.interceptors.request.use(
config => {
showLoading()