fix(runtime-core): should pass instance to patchProp on mount for event error handling (#1337)
fix #1336
This commit is contained in:
parent
90c3532946
commit
aac9b03c11
@ -676,7 +676,16 @@ function baseCreateRenderer(
|
||||
if (props) {
|
||||
for (const key in props) {
|
||||
if (!isReservedProp(key)) {
|
||||
hostPatchProp(el, key, null, props[key], isSVG)
|
||||
hostPatchProp(
|
||||
el,
|
||||
key,
|
||||
null,
|
||||
props[key],
|
||||
isSVG,
|
||||
vnode.children as VNode[],
|
||||
parentComponent,
|
||||
parentSuspense
|
||||
)
|
||||
}
|
||||
}
|
||||
if ((vnodeHook = props.onVnodeBeforeMount)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user