8144-devToTest_2448 #963
|
@ -30,7 +30,7 @@ const props = defineProps({
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
defineEmits(['confirm', 'cancel', ...useDialogPluginComponent.emits]);
|
const emit = defineEmits(['confirm', 'cancel', ...useDialogPluginComponent.emits]);
|
||||||
|
|
||||||
const { dialogRef, onDialogHide, onDialogOK, onDialogCancel } =
|
const { dialogRef, onDialogHide, onDialogOK, onDialogCancel } =
|
||||||
useDialogPluginComponent();
|
useDialogPluginComponent();
|
||||||
|
@ -55,6 +55,7 @@ async function confirm() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function cancel() {
|
function cancel() {
|
||||||
|
emit('cancel');
|
||||||
onDialogCancel();
|
onDialogCancel();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue