diff --git a/src/components/ui/VnConfirm.vue b/src/components/ui/VnConfirm.vue index 081812093..d6b1ac0a3 100644 --- a/src/components/ui/VnConfirm.vue +++ b/src/components/ui/VnConfirm.vue @@ -35,7 +35,6 @@ defineExpose({ show: () => dialogRef.value.show(), hide: () => dialogRef.value.h const { dialogRef, onDialogHide, onDialogOK, onDialogCancel } = useDialogPluginComponent(); -defineExpose({ show: () => dialogRef.value.show(), hide: () => dialogRef.value.hide() }); const title = props.title || t('Confirm'); const message =