From: zhiyuanzmj <260480378@qq.com> Date: Fri, 18 Jul 2025 07:26:05 +0000 (+0800) Subject: fix(runtime-core): use __vapor instead of vapor to identify Vapor components (#13652) X-Git-Tag: v3.6.0-alpha.2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ad21b1b7e96bc894f5df0d95fbd77c9ba6b15c2e;p=thirdparty%2Fvuejs%2Fcore.git fix(runtime-core): use __vapor instead of vapor to identify Vapor components (#13652) --- 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) }