Skip to content

Commit

Permalink
restrict setting container for CE
Browse files Browse the repository at this point in the history
Co-authored-by: 白雾三语 <[email protected]>
  • Loading branch information
eagleoflqj and baiwusanyu-c committed Sep 23, 2023
1 parent 9bab0a5 commit d2c8885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ function baseCreateRenderer(
parentComponent,
parentSuspense
))
instance.container = container
instance.isCE && (instance.container = container)

if (__DEV__ && instance.type.__hmrId) {
registerHMR(instance)
Expand Down

0 comments on commit d2c8885

Please sign in to comment.