Skip to content

Commit 1402e32

Browse files
committed
(fix): use full variable names when filtering
1 parent 1437f8d commit 1402e32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/create-instance/create-component-stubs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function getScopedSlotRenderFunctions(ctx: any): Array<string> {
9393
ctx.$options.parent._vnode.data.scopedSlots
9494
) {
9595
const slotKeys: Array<string> = ctx.$options.parent._vnode.data.scopedSlots
96-
return keys(slotKeys).filter(x => x[0] !== '_' && !x.includes('$'))
96+
return keys(slotKeys).filter(x => x !== '_normalized' && x !== '$stable')
9797
}
9898

9999
return []

0 commit comments

Comments
 (0)