Skip to content

Commit 2e9b300

Browse files
committed
fix: type check failed #1356
1 parent af666b8 commit 2e9b300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/checkbox/Checkbox.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default {
4646
const { checkboxGroupContext: checkboxGroup, $listeners, $slots } = this;
4747
const props = getOptionProps(this);
4848
const children = $slots.default;
49-
const { mouseenter = noop, mouseleave = noop, ...restListeners } = $listeners;
49+
const { mouseenter = noop, mouseleave = noop, input, ...restListeners } = $listeners;
5050
const { prefixCls: customizePrefixCls, indeterminate, ...restProps } = props;
5151
const getPrefixCls = this.configProvider.getPrefixCls;
5252
const prefixCls = getPrefixCls('checkbox', customizePrefixCls);

0 commit comments

Comments
 (0)