Explorar o código

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

Evan You %!s(int64=5) %!d(string=hai) anos
pai
achega
2bdb5c1464
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      packages/runtime-core/src/renderer.ts

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

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