fix: table column null error, close #5888

pull/5629/head
tangjinzhou 2022-08-12 16:19:32 +08:00
parent dd60465373
commit d933f3edd5
1 changed files with 1 additions and 1 deletions

View File

@ -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);