Skip to content

Commit

Permalink
refactor(checkbox-group-option): cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
haoziqaq committed May 30, 2024
1 parent 1fe1ea0 commit 9c70232
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default defineComponent({
const { option, labelKey, valueKey } = props

return (
<Checkbox checkedValue={option[valueKey]} disabled={props.option.disabled}>
<Checkbox checkedValue={option[valueKey]} disabled={option.disabled}>
{{
default: ({ checked }: { checked: boolean }) =>
isFunction(option[labelKey]) ? option[labelKey](option, checked) : option[labelKey],
Expand Down

0 comments on commit 9c70232

Please sign in to comment.