Apply suggestions from code review

Co-authored-by: skirtle <65301168+skirtles-code@users.noreply.github.com>
This commit is contained in:
edison 2024-12-31 09:32:03 +08:00 committed by GitHub
parent 85e2850eea
commit c75dcd9a2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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 {