enhance(client): suspense

Fix https://github.com/misskey-dev/misskey/issues/8817
This commit is contained in:
syuilo 2022-07-19 21:36:33 +09:00 committed by Johann150
parent 8ed288cb22
commit 1477cb54b5
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1
2 changed files with 8 additions and 1 deletions

View file

@ -38,6 +38,7 @@ You should also include the user name that made the change.
- Server: Ensure temp directory cleanup @Johann150
- favicons of federated instances not showing @syuilo
- Client: fix switch to receive email notifications @syuilo
- Client: Page freezes when trying to open configuration page of existing webhooks @syuilo
## 12.111.1 (2022/06/13)

View file

@ -1,6 +1,12 @@
<template>
<KeepAlive :max="defaultStore.state.numberOfPageCache">
<Suspense>
<component :is="currentPageComponent" :key="key" v-bind="Object.fromEntries(currentPageProps)"/>
<template #fallback>
Loading...
</template>
</Suspense>
</KeepAlive>
</template>