diff --git a/src/components/ui/VnConfirm.vue b/src/components/ui/VnConfirm.vue index ec9d0f48b..89726c891 100644 --- a/src/components/ui/VnConfirm.vue +++ b/src/components/ui/VnConfirm.vue @@ -31,9 +31,9 @@ const props = defineProps({ }); const emit = defineEmits(['confirm', 'cancel', ...useDialogPluginComponent.emits]); - const { dialogRef, onDialogHide, onDialogOK, onDialogCancel } = useDialogPluginComponent(); +defineExpose({ dialogRef }); const title = props.title || t('Confirm'); const message =