style:request
Showing
1 changed file
with
2 additions
and
0 deletions
-
Please register or sign in to post a comment
... | ... | @@ -57,7 +57,9 @@ service.interceptors.response.use( |
type: 'error', | ||
duration: 5 * 1000 | ||
}) | ||
if (response.config.showLoading) { | ||
endLoadingSubCount(); | ||
} | ||
return Promise.reject(error); | ||
} | ||
) | ||
... | ... |