From ad21b1b7e96bc894f5df0d95fbd77c9ba6b15c2e Mon Sep 17 00:00:00 2001 From: zhiyuanzmj <260480378@qq.com> Date: Fri, 18 Jul 2025 15:26:05 +0800 Subject: [PATCH] fix(runtime-core): use __vapor instead of vapor to identify Vapor components (#13652) --- packages/runtime-core/src/hmr.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-core/src/hmr.ts b/packages/runtime-core/src/hmr.ts index 6483e22416..eab407cb56 100644 --- a/packages/runtime-core/src/hmr.ts +++ b/packages/runtime-core/src/hmr.ts @@ -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) } -- 2.47.2