daiwei il y a 1 an
Parent
commit
177c6a61e6
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      packages/runtime-vapor/src/components/Teleport.ts

+ 3 - 0
packages/runtime-vapor/src/components/Teleport.ts

@@ -208,6 +208,9 @@ export class TeleportFragment extends VaporFragment {
       remove(this.mainAnchor!, parent)
       remove(this.mainAnchor!, parent)
       this.mainAnchor = undefined
       this.mainAnchor = undefined
     }
     }
+
+    this.mountContainer = undefined
+    this.mountAnchor = undefined
   }
   }
 
 
   hydrate(): void {
   hydrate(): void {