Explorar el Código

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

Evan You hace 6 años
padre
commit
2bdb5c1464
Se han modificado 1 ficheros con 2 adiciones y 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
             )
           }
         }