Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
ed635b50
Commit
ed635b50
authored
Apr 17, 2021
by
msgroup
Browse files
错误消息返回
parent
1a199988
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/static/plugins/ms/1.0.0/ms.http.js
View file @
ed635b50
...
...
@@ -48,11 +48,15 @@
msg
=
"
账号被锁定!
"
;
}
else
if
(
error
.
response
.
status
==
500
)
{
msg
=
"
服务器异常
"
;
}
else
if
(
error
.
response
.
status
==
501
)
{
msg
=
"
您的操作被取消或不允许提交
"
;
}
else
if
(
error
.
response
.
status
==
423
)
{
msg
=
"
服务器正在开小差....
"
;
}
if
(
error
.
response
.
data
&&
error
.
response
.
data
.
msg
)
{
msg
=
error
.
response
.
data
.
msg
;
}
if
(
msg
)
{
var
tempVue
=
document
.
createElement
(
'
div
'
);
tempVue
.
id
=
"
tempVue
"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment