From c75dcd9a2ec305efe6dd7d4c87e68525048cb0b2 Mon Sep 17 00:00:00 2001 From: edison Date: Tue, 31 Dec 2024 09:32:03 +0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: skirtle <65301168+skirtles-code@users.noreply.github.com> --- packages/runtime-dom/src/apiCustomElement.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-dom/src/apiCustomElement.ts b/packages/runtime-dom/src/apiCustomElement.ts index ac75390c0..d6627ddaa 100644 --- a/packages/runtime-dom/src/apiCustomElement.ts +++ b/packages/runtime-dom/src/apiCustomElement.ts @@ -404,7 +404,7 @@ export class VueElement const asyncDef = (this._def as ComponentOptions).__asyncLoader if (asyncDef) { this._pendingResolve = asyncDef().then((def: InnerComponentDef) => { - if (this._def.configureApp) def.configureApp = this._def.configureApp + def.configureApp = this._def.configureApp resolve((this._def = def), true) }) } else {