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. 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) ## 12.117.1 (2022/07/19)
### Improvements ### Improvements

View file

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