chore: tweaks
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details

This commit is contained in:
daiwei 2025-07-22 10:31:16 +08:00
parent 2ba4dc0d07
commit e17e936659
1 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,8 @@ export class DynamicFragment extends VaporFragment {
// if current nodes is a DynamicFragment, call its update with the fallback
// to handle nested dynamic fragment
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 {
this.nodes =
(this.scope || (this.scope = new EffectScope())).run(this.fallback) ||