#7970 notify changes in lines #877

Merged
jon merged 7 commits from 7970-NotifySaleChanges into dev 2024-10-28 12:41:48 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 3d4ca2bc67 - Show all commits

View File

@ -30,7 +30,7 @@ const props = defineProps({
},
});
defineEmits(['confirm', 'cancel', ...useDialogPluginComponent.emits]);
const emit = defineEmits(['confirm', 'cancel', ...useDialogPluginComponent.emits]);
jon marked this conversation as resolved Outdated
Outdated
Review

Ja no se vol emitir confirm?

Ja no se vol emitir confirm?
Outdated
Review

per a que se emitisca cancel te que haver algun emit('cancel',...)

per a que se emitisca cancel te que haver algun emit('cancel',...)
const { dialogRef, onDialogHide, onDialogOK, onDialogCancel } =
useDialogPluginComponent();
@ -55,6 +55,7 @@ async function confirm() {
}
function cancel() {
emit('cancel');
onDialogCancel();
}
</script>