Skip to content

Commit 7ff7496

Browse files
committed
chore: minor tweaks
1 parent 9825714 commit 7ff7496

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-dom/src/apiCustomElement.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ export class VueElement
330330
}
331331
// unmount
332332
this._app && this._app.unmount()
333-
this._instance!.ce = undefined
333+
if (this._instance) this._instance.ce = undefined
334334
this._app = this._instance = null
335335
}
336336
})

0 commit comments

Comments
 (0)