dynamic load dialogmodal
This commit is contained in:
parent
3aca1ce6c0
commit
2d762c9ea3
2 changed files with 6 additions and 5 deletions
|
|
@ -1,5 +1,4 @@
|
|||
import DialogModal from 'src/components/dialog_modal/dialog_modal.vue'
|
||||
|
||||
import { defineAsyncComponent } from 'vue'
|
||||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
||||
|
||||
const DraftCloser = {
|
||||
|
|
@ -9,7 +8,9 @@ const DraftCloser = {
|
|||
}
|
||||
},
|
||||
components: {
|
||||
DialogModal,
|
||||
DialogModal: defineAsyncComponent(
|
||||
() => import('src/components/dialog_modal/dialog_modal.vue'),
|
||||
),
|
||||
},
|
||||
emits: ['save', 'discard'],
|
||||
computed: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue