From a7f394b3a206c401294cf45b913a242a4b565080 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Fri, 26 Jul 2024 09:18:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=99=BB=E5=BD=95=E9=A1=B5?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E5=8F=B0=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-ui/src/views/newLogin.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sgzb-ui/src/views/newLogin.vue b/sgzb-ui/src/views/newLogin.vue index 0d0be262..2d4dcf16 100644 --- a/sgzb-ui/src/views/newLogin.vue +++ b/sgzb-ui/src/views/newLogin.vue @@ -502,7 +502,7 @@ export default { this.redirect = route.query && route.query.redirect // console.log(this.$route.query.redirect.split("?")) // console.log(this.$route.query.redirect.split("?")[1].split("&")) - if (this.$route.query.redirect.split('?').length > 1) { + if (this.$route.query.redirect?.split('?').length > 1) { let arr = this.$route.query.redirect.split('?')[1].split('&') || []