forked from FoundKeyGang/FoundKey
enhance(client): suspense
Fix https://github.com/misskey-dev/misskey/issues/8817
This commit is contained in:
parent
8ed288cb22
commit
1477cb54b5
2 changed files with 8 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue