properly implement resettableAsyncComponent
This commit is contained in:
parent
9afbb12f95
commit
f21dc21a83
3 changed files with 13 additions and 15 deletions
|
@ -19,6 +19,7 @@
|
|||
|
||||
<script>
|
||||
export default {
|
||||
emits: ['resetAsyncComponent'],
|
||||
methods: {
|
||||
retry () {
|
||||
this.$emit('resetAsyncComponent')
|
||||
|
|
|
@ -56,8 +56,8 @@ const SettingsModal = {
|
|||
SettingsModalContent: getResettableAsyncComponent(
|
||||
() => import('./settings_modal_content.vue'),
|
||||
{
|
||||
loading: PanelLoading,
|
||||
error: AsyncComponentError,
|
||||
loadingComponent: PanelLoading,
|
||||
errorComponent: AsyncComponentError,
|
||||
delay: 0
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue