增强自动化代码使用体验

This commit is contained in:
QM303176530
2020-11-08 13:01:28 +08:00
parent cf9002a377
commit 84b967ae82
3 changed files with 11 additions and 15 deletions

View File

@@ -68,7 +68,7 @@ service.interceptors.response.use(
Message({
showClose: true,
message: response.data.msg || decodeURI(response.headers.msg),
type: response.headers.messageType||'error',
type: response.headers.msgtype||'error',
})
if (response.data.data && response.data.data.reload) {
store.commit('user/LoginOut')