feat(runtime-core): type and attr fallthrough support for emits option

This commit is contained in:
Evan You
2020-04-03 12:05:52 -04:00
parent c409d4f297
commit bf473a64ea
9 changed files with 350 additions and 96 deletions

View File

@@ -15,7 +15,6 @@ import {
import {
ComponentInternalInstance,
createComponentInstance,
Component,
Data,
setupComponent
} from './component'
@@ -1249,7 +1248,7 @@ function baseCreateRenderer(
nextVNode.component = instance
instance.vnode = nextVNode
instance.next = null
resolveProps(instance, nextVNode.props, (nextVNode.type as Component).props)
resolveProps(instance, nextVNode.props)
resolveSlots(instance, nextVNode.children)
}