Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-05-20 02:27:10 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8c10e901483e4a5e772a95535facff4745ccd9d1
8c10e901
1 parent
ce4a0f39
🐞 fix: 授权重定向地址优化
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/utils/axios.js
src/utils/axios.js
View file @
8c10e90
...
...
@@ -48,7 +48,8 @@ axios.interceptors.response.use(
router
.
replace
({
path
:
'/auth'
,
query
:
{
href
:
router
.
currentRoute
.
value
.
href
,
// href: router.currentRoute.value.href,
href
:
location
.
hash
,
userType
}
});
...
...
Please
register
or
login
to post a comment