Browse Source

wip: save

daiwei 1 year ago
parent
commit
177c6a61e6
1 changed files with 3 additions and 0 deletions
  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)
       this.mainAnchor = undefined
     }
+
+    this.mountContainer = undefined
+    this.mountAnchor = undefined
   }
 
   hydrate(): void {