|
@@ -302,7 +302,7 @@ export function buildSlots(
|
|
|
children: TemplateChildNode[]
|
|
children: TemplateChildNode[]
|
|
|
) => {
|
|
) => {
|
|
|
const fn = buildSlotFn(props, children, loc)
|
|
const fn = buildSlotFn(props, children, loc)
|
|
|
- if (__COMPAT__) {
|
|
|
|
|
|
|
+ if (__COMPAT__ && context.compatConfig) {
|
|
|
fn.isNonScopedSlot = true
|
|
fn.isNonScopedSlot = true
|
|
|
}
|
|
}
|
|
|
return createObjectProperty(`default`, fn)
|
|
return createObjectProperty(`default`, fn)
|