mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-24 11:05:17 +08:00
fix #1572 Co-authored-by: winerlu <winerlu@tencent.com>
This commit is contained in:
parent
11b7b6c1c6
commit
08266d6d1d
@ -217,7 +217,7 @@ export default defineComponent({
|
||||
const renderDefault = this.$slots.default?.()
|
||||
if (renderDefault instanceof Array) {
|
||||
for (const childNode of renderDefault) {
|
||||
if (childNode.type?.name === 'ElTableColumn') {
|
||||
if (childNode.type?.name === 'ElTableColumn' || childNode.shapeFlag !== 36) {
|
||||
children.push(childNode)
|
||||
} else if (childNode.type === Fragment && childNode.children instanceof Array) {
|
||||
renderDefault.push(...childNode.children)
|
||||
|
Loading…
Reference in New Issue
Block a user