Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Chatopera OpenSource
/
ferry_web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/utils/request.js
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