fix
This commit is contained in:
parent
0deae3d1b4
commit
97c4582c97
|
|
@ -188,7 +188,7 @@ function __pwWrapFunctions(slots) {
|
||||||
for (const [key, value] of Object.entries(slots || {}))
|
for (const [key, value] of Object.entries(slots || {}))
|
||||||
slotsWithRenderFunctions[key] = () => [value];
|
slotsWithRenderFunctions[key] = () => [value];
|
||||||
} else if (slots?.length) {
|
} else if (slots?.length) {
|
||||||
slots['default'] = () => slots;
|
slotsWithRenderFunctions['default'] = () => slots;
|
||||||
}
|
}
|
||||||
return slotsWithRenderFunctions;
|
return slotsWithRenderFunctions;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue