Commit 34e2b068 by Zheng Jie

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

close https://github.com/elunez/eladmin/issues/584
parent 04c1ab99
......@@ -78,8 +78,10 @@ export default {
if (data && data.redirect) {
this.redirect = data.redirect
delete data.redirect
if (JSON.stringify(data) !== '{}') {
this.redirect = this.redirect + '&' + qs.stringify(data, { indices: false })
}
}
},
immediate: true
}
......
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