1
0
forked from mirror/misskey

enhance(client): suspense

Fix #8817
This commit is contained in:
syuilo 2022-07-19 21:36:33 +09:00
parent b495f6cfff
commit 17afbc3c46
2 changed files with 14 additions and 1 deletions

View File

@ -9,6 +9,13 @@
You should also include the user name that made the change.
-->
## 12.x.x (unreleased)
### Improvements
### Bugfixes
- Client: 一度作ったwebhookの設定画面を開こうとするとページがフリーズする @syuilo
## 12.117.1 (2022/07/19)
### Improvements

View File

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