Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
西魏
cms_sys
Commits
ed635b50
Commit
ed635b50
authored
Apr 17, 2021
by
msgroup
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
错误消息返回
parent
1a199988
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ms.http.js
src/main/webapp/static/plugins/ms/1.0.0/ms.http.js
+4
-0
No files found.
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
Markdown
is supported
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