fix(components): [menu] do not handle resize of child vnode (#6131)

This commit is contained in:
Yuyao Nie 2022-03-15 20:46:22 +08:00 committed by GitHub
parent 6eb8cfa1ef
commit 8b4d55ff9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -387,7 +387,7 @@ export default defineComponent({
'el-menu--collapse': props.collapse,
},
},
[...slot.map((vnode) => resizeMenu(vnode)), ...vShowMore]
[...slot, ...vShowMore]
)
)