From 51088c4c7385c811bb769f7e8cda8307aa8b96b2 Mon Sep 17 00:00:00 2001 From: HugoRCD Date: Mon, 26 May 2025 10:20:34 +0200 Subject: [PATCH] up --- src/runtime/components/NavigationMenu.vue | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/runtime/components/NavigationMenu.vue b/src/runtime/components/NavigationMenu.vue index 4bec61d6..22db5b87 100644 --- a/src/runtime/components/NavigationMenu.vue +++ b/src/runtime/components/NavigationMenu.vue @@ -264,17 +264,6 @@ function getAccordionDefaultValue(list: NavigationMenuItem[]) { return props.type === 'single' ? indexes[0] : indexes } - -function getChipProps(item: NavigationMenuItem) { - const itemChip = item.chip !== undefined ? item.chip : props.chip - if (itemChip === false) return null - - const baseProps = typeof itemChip === 'boolean' ? {} : itemChip - return defu(baseProps, chipProps.value, { - text: item.children?.length?.toString() || '0', - show: (item.children?.length || 0) > 0 - }) -}