0
0
Fork 0

refactor: refs #7970 refactored VnConfirm to emit events

This commit is contained in:
Jon Elias 2024-10-28 11:44:49 +01:00
parent ca6547e174
commit 9347bb1ef5
1 changed files with 1 additions and 1 deletions

View File

@ -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();