diff --git a/packages/runtime-core/src/apiCreateApp.ts b/packages/runtime-core/src/apiCreateApp.ts index 4e3079e436f..62806b198dd 100644 --- a/packages/runtime-core/src/apiCreateApp.ts +++ b/packages/runtime-core/src/apiCreateApp.ts @@ -236,6 +236,7 @@ export function createAppAPI( } else if (__DEV__) { warn(`Cannot unmount an app that is not mounted.`) } + isMounted = false }, provide(key, value) {