Skip to content

Commit aac9b03

Browse files
authoredJun 12, 2020
fix(runtime-core): should pass instance to patchProp on mount for event error handling (#1337)
fix #1336
1 parent 90c3532 commit aac9b03

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed
 

‎packages/runtime-core/src/renderer.ts

+10-1
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,16 @@ function baseCreateRenderer(
676676
if (props) {
677677
for (const key in props) {
678678
if (!isReservedProp(key)) {
679-
hostPatchProp(el, key, null, props[key], isSVG)
679+
hostPatchProp(
680+
el,
681+
key,
682+
null,
683+
props[key],
684+
isSVG,
685+
vnode.children as VNode[],
686+
parentComponent,
687+
parentSuspense
688+
)
680689
}
681690
}
682691
if ((vnodeHook = props.onVnodeBeforeMount)) {

0 commit comments

Comments
 (0)
Please sign in to comment.