Skip to content

Commit 6e3981c

Browse files
author
piexlmax
committed
修复自动化代码报错信息提示
1 parent 9fe1d7d commit 6e3981c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/utils/request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ service.interceptors.response.use(
7070
} else {
7171
ElMessage({
7272
showClose: true,
73-
message: response.data.msg,
73+
message: response.data.msg||decodeURI(response.headers.msg),
7474
type: 'error'
7575
})
7676
if (response.data.data && response.data.data.reload) {

0 commit comments

Comments
 (0)