diff --git a/packages/components/menu/src/menu.ts b/packages/components/menu/src/menu.ts index c7708b8a81..a4c004eca4 100644 --- a/packages/components/menu/src/menu.ts +++ b/packages/components/menu/src/menu.ts @@ -387,7 +387,7 @@ export default defineComponent({ 'el-menu--collapse': props.collapse, }, }, - [...slot.map((vnode) => resizeMenu(vnode)), ...vShowMore] + [...slot, ...vShowMore] ) )