Добавлен onCloseWithoutSave при нажатии на закрыть
This commit is contained in:
@@ -99,7 +99,7 @@ watch(() => props.archiveHistoryId, async (newId) => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<NModal v-model:show="open" preset="card" class="max-w-2xl" closable @close="open = false">
|
<NModal v-model:show="open" preset="card" class="max-w-2xl" closable @close="onCloseWithoutSave">
|
||||||
<template #header>
|
<template #header>
|
||||||
{{ archiveHistoryId === null ? 'Добавить' : 'Редактировать' }} запись выдачи
|
{{ archiveHistoryId === null ? 'Добавить' : 'Редактировать' }} запись выдачи
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user