fix(runtime-core/template-ref): template ref used in the same template should trigger update

fix #1505
This commit is contained in:
Evan You
2020-07-06 16:40:00 -04:00
parent 64e2f46436
commit 36b6b4f022
3 changed files with 38 additions and 8 deletions

View File

@@ -227,7 +227,7 @@ export function createHydrationFunctions(
}
if (ref != null && parentComponent) {
setRef(ref, null, parentComponent, vnode)
setRef(ref, null, parentComponent, parentSuspense, vnode)
}
return nextNode