diff --git a/src/components/ui/VnConfirm.vue b/src/components/ui/VnConfirm.vue index 0fbc55cfb..c5d2b43f5 100644 --- a/src/components/ui/VnConfirm.vue +++ b/src/components/ui/VnConfirm.vue @@ -30,7 +30,7 @@ const props = defineProps({ }, }); -defineEmits([...useDialogPluginComponent.emits]); +defineEmits(['confirm', 'cancel', ...useDialogPluginComponent.emits]); const { dialogRef, onDialogHide, onDialogOK, onDialogCancel } = useDialogPluginComponent();