Skip to content

Commit ecd9c7d

Browse files
committed
revert functional component parent
1 parent fe801b1 commit ecd9c7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/vdom/create-component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export function createComponent (
6969
context.$createElement,
7070
{
7171
props,
72-
context,
72+
parent: context,
7373
data,
7474
children: normalizeChildren(children),
7575
slots: () => resolveSlots(children)

0 commit comments

Comments
 (0)