Skip to content

Commit d933f3e

Browse files
committed
fix: table column null error, close #5888
1 parent dd60465 commit d933f3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/_util/props-util/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ export function filterEmpty(children = []) {
366366
children.forEach(child => {
367367
if (Array.isArray(child)) {
368368
res.push(...child);
369-
} else if (child.type === Fragment) {
369+
} else if (child && child.type === Fragment) {
370370
res.push(...child.children);
371371
} else {
372372
res.push(child);

0 commit comments

Comments
 (0)