mirror of https://github.com/vuejs/core.git
chore: tweaks
This commit is contained in:
parent
2ba4dc0d07
commit
e17e936659
|
@ -70,7 +70,8 @@ export class DynamicFragment extends VaporFragment {
|
||||||
// if current nodes is a DynamicFragment, call its update with the fallback
|
// if current nodes is a DynamicFragment, call its update with the fallback
|
||||||
// to handle nested dynamic fragment
|
// to handle nested dynamic fragment
|
||||||
if (this.nodes instanceof DynamicFragment) {
|
if (this.nodes instanceof DynamicFragment) {
|
||||||
this.nodes.update(this.fallback)
|
if (!this.nodes.fallback) this.nodes.fallback = this.fallback
|
||||||
|
this.nodes.update(this.nodes.fallback)
|
||||||
} else {
|
} else {
|
||||||
this.nodes =
|
this.nodes =
|
||||||
(this.scope || (this.scope = new EffectScope())).run(this.fallback) ||
|
(this.scope || (this.scope = new EffectScope())).run(this.fallback) ||
|
||||||
|
|
Loading…
Reference in New Issue