mirror of https://github.com/vuejs/core.git
fix(vapor): handle next host node for vapor component (#13823)
close #13824 --------- Co-authored-by: daiwei <daiwei521@126.com>
This commit is contained in:
parent
ea397b7fa5
commit
96ca3b0243
|
@ -2499,7 +2499,7 @@ function baseCreateRenderer(
|
|||
const getNextHostNode: NextFn = vnode => {
|
||||
if (vnode.shapeFlag & ShapeFlags.COMPONENT) {
|
||||
if ((vnode.type as ConcreteComponent).__vapor) {
|
||||
return hostNextSibling((vnode.component! as any).block)
|
||||
return hostNextSibling(vnode.anchor!)
|
||||
}
|
||||
return getNextHostNode(vnode.component!.subTree)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue