From 34e2b0689eaa8eedc674825fe4c7ae8eaa5da96a Mon Sep 17 00:00:00 2001 From: Zheng Jie <201507802@qq.com> Date: Wed, 3 Mar 2021 17:29:05 +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, 3 insertions(+), 1 deletion(-) diff --git a/src/views/login.vue b/src/views/login.vue index 210e777..f3c0548 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -78,7 +78,9 @@ export default { if (data && data.redirect) { this.redirect = data.redirect delete data.redirect - this.redirect = this.redirect + '&' + qs.stringify(data, { indices: false }) + if (JSON.stringify(data) !== '{}') { + this.redirect = this.redirect + '&' + qs.stringify(data, { indices: false }) + } } }, immediate: true