fix: avoid double inserting root component

This commit is contained in:
Evan You 2018-09-19 12:05:33 -04:00
parent c0d9f3ab15
commit a8522cf48c

View File

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