|
|
@@ -63,6 +63,10 @@ const normalizeSlot = (
|
|
|
rawSlot: Function,
|
|
|
ctx: ComponentInternalInstance | null | undefined
|
|
|
): Slot => {
|
|
|
+ if ((rawSlot as any)._n) {
|
|
|
+ // already normalized - #5353
|
|
|
+ return rawSlot as Slot
|
|
|
+ }
|
|
|
const normalized = withCtx((...args: any[]) => {
|
|
|
if (__DEV__ && currentInstance) {
|
|
|
warn(
|