mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
fix: about custom extension of table column (#3437)
This commit is contained in:
parent
c23053a66a
commit
d36ef9d784
@ -164,7 +164,10 @@ export default defineComponent({
|
||||
})
|
||||
if (renderDefault instanceof Array) {
|
||||
for (const childNode of renderDefault) {
|
||||
if (childNode.type?.name === 'ElTableColumn') {
|
||||
if (
|
||||
childNode.type?.name === 'ElTableColumn' ||
|
||||
childNode.shapeFlag & 2
|
||||
) {
|
||||
children.push(childNode)
|
||||
} else if (
|
||||
childNode.type === Fragment &&
|
||||
|
Loading…
Reference in New Issue
Block a user