Skip to content

Commit 08a391d

Browse files
committed
fix: handle async placeholders in normalizeScopedSlot
1 parent e20581f commit 08a391d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/vdom/helpers/normalize-scoped-slots.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function normalizeScopedSlot(normalSlots, key, fn) {
6262
: normalizeChildren(res)
6363
return res && (
6464
res.length === 0 ||
65-
(res.length === 1 && res[0].isComment) // #9658
65+
(res.length === 1 && res[0].isComment && !isAsyncPlaceholder(res[0])) // #9658, #10391
6666
) ? undefined
6767
: res
6868
}

0 commit comments

Comments
 (0)