|
@@ -29,7 +29,7 @@ export function extendSlots(slots: Slots, excludeKeys: string[] = []) {
|
|
if (excludeKeys.includes(key)) {
|
|
if (excludeKeys.includes(key)) {
|
|
return null;
|
|
return null;
|
|
}
|
|
}
|
|
- ret[key] = () => getSlot(slots, key);
|
|
|
|
|
|
+ ret[key] = (data?: any) => getSlot(slots, key, data);
|
|
});
|
|
});
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|