mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-30 02:57:50 +08:00
fix: table column null error, close #5888
This commit is contained in:
parent
dd60465373
commit
d933f3edd5
@ -366,7 +366,7 @@ export function filterEmpty(children = []) {
|
||||
children.forEach(child => {
|
||||
if (Array.isArray(child)) {
|
||||
res.push(...child);
|
||||
} else if (child.type === Fragment) {
|
||||
} else if (child && child.type === Fragment) {
|
||||
res.push(...child.children);
|
||||
} else {
|
||||
res.push(child);
|
||||
|
Loading…
Reference in New Issue
Block a user