From 0ccd6dc750369c3ace7322df62f3d1e40f08ea48 Mon Sep 17 00:00:00 2001 From: pixelmaxQM Date: Thu, 24 Apr 2025 21:47:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=A1=B6=E6=A0=8F?= =?UTF-8?q?=E5=A4=9A=E5=87=BA=E4=B8=80=E4=B8=AA...=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../layout/aside/asideComponent/index.vue | 2 +- web/src/view/layout/aside/headMode.vue | 39 ++++++++++++++++++- 2 files changed, 39 insertions(+), 2 deletions(-) diff --git a/web/src/view/layout/aside/asideComponent/index.vue b/web/src/view/layout/aside/asideComponent/index.vue index 32e7d4186..cebcc4a57 100644 --- a/web/src/view/layout/aside/asideComponent/index.vue +++ b/web/src/view/layout/aside/asideComponent/index.vue @@ -37,7 +37,7 @@ const menuComponent = computed(() => { if ( props.routerInfo.children && - props.routerInfo.children.filter((item) => !item.hidden).length + props.routerInfo.children?.filter((item) => !item.hidden).length ) { return AsyncSubmenu } else { diff --git a/web/src/view/layout/aside/headMode.vue b/web/src/view/layout/aside/headMode.vue index f72fa32ff..d29f849e9 100644 --- a/web/src/view/layout/aside/headMode.vue +++ b/web/src/view/layout/aside/headMode.vue @@ -1,13 +1,16 @@