From 21b189c27c114043bb5d125682654a81c2dec955 Mon Sep 17 00:00:00 2001 From: Nebula Date: Sat, 10 Dec 2022 21:58:58 +0800 Subject: [PATCH] fix(runtime-core): add name attribute of Teleport All other built-in components have a name attribute. --- packages/runtime-core/src/components/Teleport.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/runtime-core/src/components/Teleport.ts b/packages/runtime-core/src/components/Teleport.ts index f9f845298dc..dd730f57f74 100644 --- a/packages/runtime-core/src/components/Teleport.ts +++ b/packages/runtime-core/src/components/Teleport.ts @@ -63,6 +63,7 @@ const resolveTarget = ( } export const TeleportImpl = { + name: 'Teleport', __isTeleport: true, process( n1: TeleportVNode | null,