Browse Source

chore: add name option for Teleport (#7315)

Nebula 2 years ago
parent
commit
6e0b068e92
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/runtime-core/src/components/Teleport.ts

+ 1 - 0
packages/runtime-core/src/components/Teleport.ts

@@ -63,6 +63,7 @@ const resolveTarget = <T = RendererElement>(
 }
 
 export const TeleportImpl = {
+  name: 'Teleport',
   __isTeleport: true,
   process(
     n1: TeleportVNode | null,