fix(vapor): handle next host node for vapor component (#13823)

close #13824

---------

Co-authored-by: daiwei <daiwei521@126.com>
This commit is contained in:
Jack 2025-08-29 15:48:41 +08:00 committed by GitHub
parent ea397b7fa5
commit 96ca3b0243
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}