Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
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
ReactWeb5
CivManage
Commits
65bd0f3f
Commit
65bd0f3f
authored
Dec 04, 2020
by
张烨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 登录页面调接口失败
parent
f6d0675b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
defaultConfig.js
src/utils/request/defaultConfig.js
+2
-0
No files found.
src/utils/request/defaultConfig.js
View file @
65bd0f3f
...
@@ -22,6 +22,7 @@ const bizRedirectHandler = response => {
...
@@ -22,6 +22,7 @@ const bizRedirectHandler = response => {
确定
确定
<
/Button
>
<
/Button
>
);
);
if
(
!
/
\/
user
\/
login$/
.
test
(
window
.
location
.
pathname
))
{
notification
.
warning
({
notification
.
warning
({
key
,
key
,
title
:
'提示'
,
title
:
'提示'
,
...
@@ -33,6 +34,7 @@ const bizRedirectHandler = response => {
...
@@ -33,6 +34,7 @@ const bizRedirectHandler = response => {
window
.
location
.
href
=
`/
${
BASENAME
}
/user/login`
;
window
.
location
.
href
=
`/
${
BASENAME
}
/user/login`
;
},
4000
);
},
4000
);
}
}
}
};
};
// 2. 开发级错误信息转换
// 2. 开发级错误信息转换
...
...
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