]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(runtime-core): use __vapor instead of vapor to identify Vapor components (#13652)
authorzhiyuanzmj <260480378@qq.com>
Fri, 18 Jul 2025 07:26:05 +0000 (15:26 +0800)
committerGitHub <noreply@github.com>
Fri, 18 Jul 2025 07:26:05 +0000 (15:26 +0800)
packages/runtime-core/src/hmr.ts

index 6483e22416f12b6a2b325ee0a2278b181f0451ac..eab407cb561e92f736c77356fce5fbaa185f0216 100644 (file)
@@ -119,7 +119,7 @@ function reload(id: string, newComp: HMRComponent): void {
   // create a snapshot which avoids the set being mutated during updates
   const instances = [...record.instances]
 
-  if (newComp.vapor) {
+  if (newComp.__vapor) {
     for (const instance of instances) {
       instance.hmrReload!(newComp)
     }