From b1a699252bb4850b32f6b526a243c300c8b60f38 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Fri, 6 Dec 2024 17:36:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=8D=E7=99=BB=E5=BD=95=E8=AE=A4?= =?UTF-8?q?=E8=AF=81=E5=8F=82=E6=95=B0=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/modules/app.ts b/src/store/modules/app.ts index fe11126c..81405212 100644 --- a/src/store/modules/app.ts +++ b/src/store/modules/app.ts @@ -54,7 +54,7 @@ const useAppStore = defineStore('app', { version: `-`, buildTime: `-`, bootloader: false, - loginAuth: false, + loginAuth: true, serialNum: `-`, copyright: `Copyright ©2023 For ${import.meta.env.VITE_APP_NAME}`, logoType: 'icon', @@ -88,7 +88,7 @@ const useAppStore = defineStore('app', { if (this.bootloader) { removeToken(); } - this.loginAuth = res.data.loginAuth === 'true'; + this.loginAuth = res.data.loginAuth !== 'false' ; this.serialNum = res.data.serialNum; this.appName = res.data.title; this.copyright = res.data.copyright;