Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-community-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
陈峰
2019-05-28 20:29:17 +0800
Commit
95adbf3ae2896a2a4ed8338fee2ee7b526991986
2 parents
20db01d0
8de46bb9
Merge branch 'feature/qk' of
http://git.yoho.cn/fe/yoho-community-web
into feature/qk
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
apps/common/create-api-client.js
apps/common/create-api-client.js
View file @
95adbf3
...
...
@@ -14,7 +14,8 @@ axios.defaults.headers = {
const
errHandle
=
(
error
)
=>
{
let
res
=
error
.
response
;
console
.
log
(
error
);
if
(
+
res
.
status
===
510
)
{
if
(
get
(
res
,
'data.data.refer'
))
{
return
window
.
location
.
href
===
get
(
res
,
'data.data.refer'
);
...
...
Please
register
or
login
to post a comment