We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bba4657 commit 43b6c33Copy full SHA for 43b6c33
packages/runtime-core/src/renderer.ts
@@ -2484,13 +2484,13 @@ export function traverseStaticChildren(
2484
if (c2.type === Text) {
2485
c2.el = c1.el
2486
}
2487
- if (__DEV__ ) {
+ if (__DEV__) {
2488
// #2324 also inherit for comment nodes, but not placeholders (e.g. v-if which
2489
// would have received .el during block patch)
2490
- if(c2.type === Comment && !c2.el) {
+ if (c2.type === Comment && !c2.el) {
2491
c2.type === Comment && !c2.el
2492
2493
-
+
2494
c2.el && (c2.el.__vnode = c2)
2495
2496
0 commit comments