enhance(client): suspense

Fix #8817
This commit is contained in:
syuilo 2022-07-19 21:36:33 +09:00
parent 707f7a3bb4
commit 5edecc1914
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">
<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> </KeepAlive>
</template> </template>