diff --git a/packages/runtime-core/src/apiCreateApp.ts b/packages/runtime-core/src/apiCreateApp.ts index ed5ce0950..d093b787c 100644 --- a/packages/runtime-core/src/apiCreateApp.ts +++ b/packages/runtime-core/src/apiCreateApp.ts @@ -217,7 +217,7 @@ export function createAppAPI( unmount() { if (isMounted) { - render(null, app._container!) + render(null, app._container) } else if (__DEV__) { warn(`Cannot unmount an app that is not mounted.`) }