mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 11:17:46 +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