自动化代码体验优化

This commit is contained in:
QM303176530
2020-11-08 12:47:55 +08:00
parent 829fa4dac5
commit cf9002a377
11 changed files with 28 additions and 838 deletions

View File

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