From 04c1ab9923a8398555ccac46bd13ae9d9645a2b3 Mon Sep 17 00:00:00 2001 From: Zheng Jie <201507802@qq.com> Date: Wed, 3 Mar 2021 14:49:10 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96](v2.6)?= =?UTF-8?q?=EF=BC=9A=E4=BF=AE=E5=A4=8D=E9=87=8D=E6=96=B0=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E5=90=8E=E9=87=8D=E5=AE=9A=E5=90=91=E5=8F=82=E6=95=B0=E4=B8=A2?= =?UTF-8?q?=E5=A4=B1=EF=BC=8C=E5=85=B7=E4=BD=93=E6=9F=A5=E7=9C=8B=E5=A6=82?= =?UTF-8?q?=E4=B8=8B=20issues?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close https://github.com/elunez/eladmin/issues/584 --- src/views/login.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/login.vue b/src/views/login.vue index 085713c..210e777 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -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 })