From e086017689117156470def386ca0acfbb9818315 Mon Sep 17 00:00:00 2001 From: Hooray <304327508@qq.com> Date: Wed, 30 Jul 2025 23:52:05 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BC=98=E5=8C=96=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E9=A1=B9=E5=88=9D=E5=A7=8B=E5=8C=96=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/components/Menu/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/components/Menu/index.vue b/src/layouts/components/Menu/index.vue index 42e1a918..5f85d86e 100644 --- a/src/layouts/components/Menu/index.vue +++ b/src/layouts/components/Menu/index.vue @@ -43,7 +43,7 @@ const isMenuPopup = computed(() => { function initItems(menu: MenuProps['menu'], parentPaths: string[] = []) { menu.forEach((item) => { const index = item.path ?? getUseId(item) - if (item.children) { + if (item.children?.some(item => item.meta?.menu !== false)) { const indexPath = [...parentPaths, index] subMenus.value[index] = { index,