From bb5274a52f82e44d53396ea98c4437ef57f6013e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Tue, 5 Dec 2023 15:30:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=99=BB=E9=99=86bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/components/login.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/login/components/login.vue b/src/views/login/components/login.vue index e2df2976..f2eeb940 100644 --- a/src/views/login/components/login.vue +++ b/src/views/login/components/login.vue @@ -326,10 +326,10 @@ export default { } }, //角色身份验证 - rolesChecked(){ + rolesChecked(){ var indexPath=sessionStorage.getItem("index-path"); if(!indexPath){ - indexPath="/" + indexPath="" } if(this.userInfo.isSuperAdmin){ location.replace(indexPath)