Просмотр исходного кода

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

Evan You 5 лет назад
Родитель
Сommit
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,
               vnode.children as VNode[],
               parentComponent,
-              parentSuspense
+              parentSuspense,
+              unmountChildren
             )
           }
         }