diff --git a/components/menu/src/Menu.tsx b/components/menu/src/Menu.tsx index 58ccd6013..407287680 100644 --- a/components/menu/src/Menu.tsx +++ b/components/menu/src/Menu.tsx @@ -68,7 +68,7 @@ export default defineComponent({ 'click', 'update:activeKey', ], - slots: ['expandIcon'], + slots: ['expandIcon', 'overflowedIndicator'], setup(props, { slots, emit }) { const { prefixCls, direction } = useConfigInject('menu', props); const store = ref<Record<string, StoreMenuInfo>>({}); @@ -396,7 +396,7 @@ export default defineComponent({ {child} </MenuContextProvider> )); - const overflowedIndicator = <EllipsisOutlined />; + const overflowedIndicator = slots.overflowedIndicator?.() || <EllipsisOutlined />; return ( <Overflow diff --git a/v2-doc b/v2-doc index e5fb2accb..7a7b52df8 160000 --- a/v2-doc +++ b/v2-doc @@ -1 +1 @@ -Subproject commit e5fb2accb9cf5e02e2fd0011310a70041b5ff7a1 +Subproject commit 7a7b52df8b3b69d8b1a8b8dcd96e1b0f7bb3f8c9