Set up the Create form

This commit is contained in:
Bubka
2023-10-19 11:53:13 +02:00
parent 1705d23277
commit 68d98652a3
4 changed files with 517 additions and 4 deletions

View File

@ -9,14 +9,14 @@
},
})
const emit = defineEmits(['modalClosed'])
const emit = defineEmits(['update:modelValue'])
const isActive = computed({
get() {
return props.modelValue
},
set(value) {
emit('modalClosed')
emit('update:modelValue', value)
}
})