Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
front-backend
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
framework
front-backend
Commits
34e2b068
Commit
34e2b068
authored
Mar 03, 2021
by
Zheng Jie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[代码优化](v2.6):修复重新登录后重定向参数丢失,具体查看如下 issues
close
https://github.com/elunez/eladmin/issues/584
parent
04c1ab99
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/views/login.vue
+2
-0
No files found.
src/views/login.vue
View file @
34e2b068
...
@@ -78,8 +78,10 @@ export default {
...
@@ -78,8 +78,10 @@ export default {
if
(
data
&&
data
.
redirect
)
{
if
(
data
&&
data
.
redirect
)
{
this
.
redirect
=
data
.
redirect
this
.
redirect
=
data
.
redirect
delete
data
.
redirect
delete
data
.
redirect
if
(
JSON
.
stringify
(
data
)
!==
'{}'
)
{
this
.
redirect
=
this
.
redirect
+
'&'
+
qs
.
stringify
(
data
,
{
indices
:
false
})
this
.
redirect
=
this
.
redirect
+
'&'
+
qs
.
stringify
(
data
,
{
indices
:
false
})
}
}
}
},
},
immediate
:
true
immediate
:
true
}
}
...
...
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