Fix the form pagination

This commit is contained in:
Julien Nahum
2024-01-17 12:43:52 +01:00
parent e0b6d422b1
commit 1f558dbcbb
4 changed files with 8 additions and 6 deletions

View File

@@ -13,10 +13,10 @@ const { modelValue, disabled } = defineProps({
modelValue: { type: Boolean, default: false },
disabled: { type: Boolean, default: false }
})
const emit = defineEmits(['update:modelValue'])
const emits = defineEmits(['update:modelValue'])
const onClick = () => {
if (disabled) return
emit('update:modelValue', !modelValue)
emits('update:modelValue', !modelValue)
}
</script>