54f2a388 by 任超

style:request

1 parent c4706102
......@@ -57,7 +57,9 @@ service.interceptors.response.use(
type: 'error',
duration: 5 * 1000
})
endLoadingSubCount();
if (response.config.showLoading) {
endLoadingSubCount();
}
return Promise.reject(error);
}
)
......