54f2a388 by 任超

style:request

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