Skip to content

Commit dfdc5b2

Browse files
committed
Fix building npm version
1 parent e597281 commit dfdc5b2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/FlowForm.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,10 @@
306306
let children = null
307307
308308
if (defaultSlot && defaultSlot.length) {
309-
children = defaultSlot[0].children ?? defaultSlot
309+
children = defaultSlot[0].children
310+
if (!children) {
311+
children = defaultSlot
312+
}
310313
}
311314
312315
if (children) {

0 commit comments

Comments
 (0)