Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b89123bd
authored
2023-08-15 09:44:46 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
处理code2002
1 parent
77412ed3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
src/utils/request.js
src/utils/request.js
View file @
b89123b
...
...
@@ -54,7 +54,9 @@ service.interceptors.response.use(
*/
if
(
response
.
status
==
200
)
{
return
response
.
data
;
}
else
{
}
else
if
(
response
.
status
==
2002
){
Message
.
error
(
response
.
message
);
}
else
{
handleErrorData
(
response
.
data
);
}
return
response
;
...
...
Please
register
or
sign in
to post a comment