Skip to content

Commit ddbe65e

Browse files
committed
Further improved default slot detection
1 parent 9887e46 commit ddbe65e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/FlowForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@
306306
let children = null
307307
308308
if (defaultSlot && defaultSlot.length) {
309-
children = defaultSlot[0].children
309+
children = defaultSlot[0].children ?? defaultSlot
310310
}
311311
312312
if (children) {

0 commit comments

Comments
 (0)