Commit 04c1ab99 by Zheng Jie

[代码优化](v2.6):修复重新登录后重定向参数丢失,具体查看如下 issues

close https://github.com/elunez/eladmin/issues/584
parent ec40e7fd
......@@ -74,8 +74,8 @@ export default {
watch: {
$route: {
handler: function(route) {
if (route.query) {
const data = route.query
const data = route.query
if (data && data.redirect) {
this.redirect = data.redirect
delete data.redirect
this.redirect = this.redirect + '&' + qs.stringify(data, { indices: false })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment