Skip to content

Commit

Permalink
fix: should attach instance for path props when mount element
Browse files Browse the repository at this point in the history
  • Loading branch information
underfin committed Jun 10, 2020
1 parent 4c542d5 commit 499b698
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion packages/runtime-core/src/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 499b698

Please sign in to comment.