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 01/36] =?UTF-8?q?fix:=20=E5=85=8D=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E8=AE=A4=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; From 69dfc2a1f555871159b19e051827c7f4de2554cf Mon Sep 17 00:00:00 2001 From: lai <10633968+laiyujun1@user.noreply.gitee.com> Date: Fri, 6 Dec 2024 18:10:06 +0800 Subject: [PATCH 02/36] =?UTF-8?q?event=20Type=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/mmeUE/index.vue | 157 +++++++++------------------- 1 file changed, 49 insertions(+), 108 deletions(-) diff --git a/src/views/dashboard/mmeUE/index.vue b/src/views/dashboard/mmeUE/index.vue index 4c773542..ad0c4849 100644 --- a/src/views/dashboard/mmeUE/index.vue +++ b/src/views/dashboard/mmeUE/index.vue @@ -415,7 +415,7 @@ onMounted(() => { dict.ueAauthCode = resArr[0].value; } if (resArr[1].status === 'fulfilled') { - const ueEventType: any[] = JSON.parse(JSON.stringify(resArr[1])); + const ueEventType: any[] = JSON.parse(JSON.stringify(resArr[1].value)); dict.ueEventType = ueEventType.map(item => { if (item.value === 'cm-state') { item.label = item.label.replace('CM', 'ECM'); @@ -467,71 +467,45 @@ onBeforeUnmount(() => {