From 08a391d936630cdea1df8e1de812ff435e63444c Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Tue, 16 Mar 2021 13:34:03 +0100 Subject: [PATCH] fix: handle async placeholders in normalizeScopedSlot --- src/core/vdom/helpers/normalize-scoped-slots.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/vdom/helpers/normalize-scoped-slots.js b/src/core/vdom/helpers/normalize-scoped-slots.js index 1e43fd393f7..2d74e4c13b5 100644 --- a/src/core/vdom/helpers/normalize-scoped-slots.js +++ b/src/core/vdom/helpers/normalize-scoped-slots.js @@ -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 }