Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
work-order-web
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
张圳龙
work-order-web
Commits
3fd6d8a4
Unverified
Commit
3fd6d8a4
authored
Oct 08, 2020
by
lanyulei
Committed by
GitHub
Oct 08, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #36 from lanyulei/dev
fix: 修改请求返回信息错误的bug。
parents
5ba0de80
a3e1738a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
request.js
src/utils/request.js
+1
-0
No files found.
src/utils/request.js
View file @
3fd6d8a4
...
...
@@ -80,6 +80,7 @@ service.interceptors.response.use(
type
:
'error'
,
duration
:
5
*
1000
})
return
Promise
.
reject
(
'error'
)
}
else
if
(
code
!==
200
)
{
Notification
.
error
({
title
:
response
.
data
.
msg
...
...
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