소스 검색

fix: avoid double inserting root component

Evan You 7 년 전
부모
커밋
a8522cf48c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/core/src/createRenderer.ts

+ 1 - 1
packages/core/src/createRenderer.ts

@@ -265,7 +265,7 @@ export function createRenderer(options: RendererOptions) {
       el = mountComponentInstance(
         vnode,
         tag as ComponentClass,
-        container,
+        null,
         parentComponent,
         isSVG,
         endNode