From 7cdf5b69f2f259c26bed3666a67e9a59a301991d Mon Sep 17 00:00:00 2001 From: zsk <710162063@qq.com> Date: Tue, 26 Dec 2023 10:32:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=80=BB=E8=BE=91=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/main.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/main.vue b/src/views/main.vue index 8f9be87..ac2b54e 100644 --- a/src/views/main.vue +++ b/src/views/main.vue @@ -367,7 +367,7 @@ export default { } else { this.routertitleindex = 7 } - if (to.fullPath == '/login') { + if (to.fullPath == '/login' || !localStorage.getItem("LOGIN_DATA")) { this.loginPage = true this.isLogin = false } else {