当自动化代码报错时不下载
This commit is contained in:
@@ -73,7 +73,7 @@ service.interceptors.response.use(
|
||||
if (response.data.data && response.data.data.reload) {
|
||||
store.commit('user/LoginOut')
|
||||
}
|
||||
return response.data.msg
|
||||
return response.data.msg ? response.data : response
|
||||
}
|
||||
},
|
||||
error => {
|
||||
|
Reference in New Issue
Block a user