Skip to content

Commit

Permalink
fix: set correct checkbox false value when updating option
Browse files Browse the repository at this point in the history
  • Loading branch information
dulnan committed Nov 12, 2024
1 parent 4076000 commit f95ed47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const checked = computed({
return props.modelValue === '1'
},
set(v: any) {
emit('update:modelValue', v ? '1' : '')
emit('update:modelValue', v ? '1' : '0')
},
})
Expand Down

0 comments on commit f95ed47

Please sign in to comment.