Преглед изворни кода

fix(runtime-core): pass unmount into inital mount patch prop

Evan You пре 5 година
родитељ
комит
2bdb5c1464
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      packages/runtime-core/src/renderer.ts

+ 2 - 1
packages/runtime-core/src/renderer.ts

@@ -698,7 +698,8 @@ function baseCreateRenderer(
               isSVG,
               isSVG,
               vnode.children as VNode[],
               vnode.children as VNode[],
               parentComponent,
               parentComponent,
-              parentSuspense
+              parentSuspense,
+              unmountChildren
             )
             )
           }
           }
         }
         }