Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
linzhe141 committed Sep 12, 2024
1 parent b113f8a commit 45de5c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/componentRenderUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export function renderComponentRoot(
}

// #5407
if (root.patchFlag > 0 && root.patchFlag & PatchFlags.DEV_ROOT_FRAGMENT) {
if (!__DEV__ && root.patchFlag & PatchFlags.DEV_ROOT_FRAGMENT) {
const singleRoot = filterSingleRoot(root.children as VNodeArrayChildren)
if (singleRoot) root = singleRoot
}
Expand Down

0 comments on commit 45de5c4

Please sign in to comment.