Browse Source

修复自动化代码报错信息提示

main
piexlmax 3 years ago
parent
commit
6e3981c09e
  1. 2
      web/src/utils/request.js

2
web/src/utils/request.js

@ -70,7 +70,7 @@ service.interceptors.response.use(
} else { } else {
ElMessage({ ElMessage({
showClose: true, showClose: true,
message: response.data.msg,
message: response.data.msg||decodeURI(response.headers.msg),
type: 'error' type: 'error'
}) })
if (response.data.data && response.data.data.reload) { if (response.data.data && response.data.data.reload) {

Loading…
Cancel
Save