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 - }) -}