]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
Merge branch 'minor' into edison/feat/vaporAsyncComponent
authoredison <daiwei521@126.com>
Wed, 16 Jul 2025 13:36:56 +0000 (21:36 +0800)
committerGitHub <noreply@github.com>
Wed, 16 Jul 2025 13:36:56 +0000 (21:36 +0800)
1  2 
packages/runtime-core/src/apiAsyncComponent.ts
packages/runtime-core/src/index.ts
packages/runtime-vapor/src/apiTemplateRef.ts
packages/runtime-vapor/src/block.ts
packages/runtime-vapor/src/component.ts
packages/runtime-vapor/src/index.ts

index 8eee833ac4bf0976f1d5b4a07227877a54c093c8,5c5c06c4891c67fc588a189d28b0cc19014fd8a3..f3698157c82aa2180d67812c585415d8c55608f5
@@@ -75,9 -143,10 +88,10 @@@ export function defineAsyncComponent
              if (teardown) {
                ;(instance.bum || (instance.bum = [])).push(teardown)
              }
+             ;(instance.u || (instance.u = [])).push(() => (patched = true))
            }
          : hydrate
 -      if (resolvedComp) {
 +      if (getResolvedComp()) {
          doHydrate()
        } else {
          load().then(() => !instance.isUnmounted && doHydrate())
Simple merge
Simple merge
Simple merge