mirror of https://github.com/vuejs/core.git
wip: save
This commit is contained in:
parent
268383f760
commit
71262384db
|
@ -163,9 +163,13 @@ export class DynamicFragment extends VaporFragment {
|
||||||
this.anchor = locateVaporFragmentAnchor(currentHydrationNode!, '')!
|
this.anchor = locateVaporFragmentAnchor(currentHydrationNode!, '')!
|
||||||
} else {
|
} else {
|
||||||
let anchor = locateVaporFragmentAnchor(currentHydrationNode!, label)!
|
let anchor = locateVaporFragmentAnchor(currentHydrationNode!, label)!
|
||||||
if (!anchor && (label === 'slot' || label === 'if')) {
|
if (!anchor) {
|
||||||
// fallback to fragment end anchor for ssr vdom slot
|
// TODO: comment anchors are not included in ssr slot vnode fallback
|
||||||
anchor = locateVaporFragmentAnchor(currentHydrationNode!, ']')!
|
if (label === 'slot') {
|
||||||
|
// fallback to fragment end anchor for
|
||||||
|
anchor = locateVaporFragmentAnchor(currentHydrationNode!, ']')!
|
||||||
|
} else if (label === 'if') {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (anchor) {
|
if (anchor) {
|
||||||
this.anchor = anchor
|
this.anchor = anchor
|
||||||
|
|
Loading…
Reference in New Issue