style:request
Showing
1 changed file
with
3 additions
and
1 deletions
... | @@ -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 | ) | ... | ... |
-
Please register or sign in to post a comment