Skip to content

Commit

Permalink
fix: handle async placeholders in normalizeScopedSlot
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Mar 16, 2021
1 parent e20581f commit 08a391d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/vdom/helpers/normalize-scoped-slots.js
Expand Up @@ -62,7 +62,7 @@ function normalizeScopedSlot(normalSlots, key, fn) {
: normalizeChildren(res)
return res && (
res.length === 0 ||
(res.length === 1 && res[0].isComment) // #9658
(res.length === 1 && res[0].isComment && !isAsyncPlaceholder(res[0])) // #9658, #10391
) ? undefined
: res
}
Expand Down

0 comments on commit 08a391d

Please sign in to comment.