Skip to content

Commit

Permalink
fix: set render when setup not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
cuixiaorui committed Oct 10, 2021
1 parent e87ecfa commit ba52256
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/runtime-core/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ function setupStatefulComponent(instance) {

// 3. 处理 setupResult
handleSetupResult(instance, setupResult);
} else {
finishComponentSetup(instance);
}
}

Expand Down

0 comments on commit ba52256

Please sign in to comment.