forked from github/dataease
fix:请求错误取消loading
This commit is contained in:
parent
b2182f0b03
commit
afc46f0c47
@ -140,6 +140,7 @@ service.interceptors.response.use(response => {
|
||||
checkAuth(response)
|
||||
return response.data
|
||||
}, error => {
|
||||
error.response.config.loading && tryHideLoading(store.getters.currentPath)
|
||||
let msg
|
||||
if (error.response) {
|
||||
checkAuth(error.response)
|
||||
|
Loading…
Reference in New Issue
Block a user