Mitchell Bryson
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
2 deletions
-
src/core/vdom/create-component.js
|
|
@ -206,8 +206,10 @@ export function createComponent ( |
|
|
|
} |
|
|
|
|
|
|
|
export function createComponentInstanceForVnode ( |
|
|
|
vnode: any, // we know it's MountedComponentVNode but flow doesn't
|
|
|
|
parent: any // activeInstance in lifecycle state
|
|
|
|
// we know it's MountedComponentVNode but flow doesn't
|
|
|
|
vnode: any, |
|
|
|
// activeInstance in lifecycle state
|
|
|
|
parent: any |
|
|
|
): Component { |
|
|
|
const options: InternalComponentOptions = { |
|
|
|
_isComponent: true, |
|
|
|