fix: table column null error, close #5888
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