Skip to content

Commit c863385

Browse files
committed
style: checkbox.tsx #5363
1 parent ecda0a1 commit c863385

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

components/checkbox/Checkbox.tsx

+1-8
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,13 @@ export default defineComponent({
5959
});
6060
return () => {
6161
const children = flattenChildren(slots.default?.());
62-
const {
63-
indeterminate,
64-
skipGroup,
65-
id = formItemContext.id.value,
66-
onClick,
67-
...restProps
68-
} = props;
62+
const { indeterminate, skipGroup, id = formItemContext.id.value, ...restProps } = props;
6963
const { onMouseenter, onMouseleave, onInput, class: className, style, ...restAttrs } = attrs;
7064
const checkboxProps: CheckboxProps = {
7165
...restProps,
7266
id,
7367
prefixCls: prefixCls.value,
7468
...restAttrs,
75-
onClick,
7669
};
7770
if (checkboxGroup && !skipGroup) {
7871
checkboxProps.onChange = (...args) => {

0 commit comments

Comments
 (0)