mirror of https://github.com/vuejs/core.git
fix(runtime-core): properly pop warning context when mounting components with async setup
This commit is contained in:
parent
0db336ff6c
commit
69a2acc6ea
|
@ -1242,9 +1242,7 @@ function baseCreateRenderer(
|
|||
const placeholder = (instance.subTree = createVNode(Comment))
|
||||
processCommentNode(null, placeholder, container!, anchor)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
} else {
|
||||
setupRenderEffect(
|
||||
instance,
|
||||
initialVNode,
|
||||
|
@ -1254,6 +1252,7 @@ function baseCreateRenderer(
|
|||
namespace,
|
||||
optimized
|
||||
)
|
||||
}
|
||||
|
||||
if (__DEV__) {
|
||||
popWarningContext()
|
||||
|
|
Loading…
Reference in New Issue