Skip to content

Commit

Permalink
fix: 修复max属性无效问题 (#2233)
Browse files Browse the repository at this point in the history
  • Loading branch information
FliPPeDround authored Jan 4, 2023
1 parent 72ce2fe commit 15a3d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/checkbox/checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default defineComponent({
});

const disabled = computed<boolean>(() => {
if (formDisabled) return formDisabled.value;
if (formDisabled.value) return formDisabled.value;
if (!props.checkAll && !selfChecked.value && checkboxGroup?.maxExceeded) {
return true;
}
Expand Down

0 comments on commit 15a3d42

Please sign in to comment.