forked from verdnatura/salix-front
refactor: refs #7970 refactored VnConfirm to emit events
This commit is contained in:
parent
ca6547e174
commit
9347bb1ef5
|
@ -30,7 +30,7 @@ const props = defineProps({
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
defineEmits([...useDialogPluginComponent.emits]);
|
defineEmits(['confirm', 'cancel', ...useDialogPluginComponent.emits]);
|
||||||
|
|
||||||
const { dialogRef, onDialogHide, onDialogOK, onDialogCancel } =
|
const { dialogRef, onDialogHide, onDialogOK, onDialogCancel } =
|
||||||
useDialogPluginComponent();
|
useDialogPluginComponent();
|
||||||
|
|
Loading…
Reference in New Issue