From 2e9b3000ac2ceea4688114094ce5bc2a7ecd430f Mon Sep 17 00:00:00 2001 From: tanjinzhou <415800467@qq.com> Date: Wed, 30 Oct 2019 16:36:23 +0800 Subject: [PATCH] fix: type check failed #1356 --- components/checkbox/Checkbox.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/checkbox/Checkbox.jsx b/components/checkbox/Checkbox.jsx index d9c02f2b0..5141d924e 100644 --- a/components/checkbox/Checkbox.jsx +++ b/components/checkbox/Checkbox.jsx @@ -46,7 +46,7 @@ export default { const { checkboxGroupContext: checkboxGroup, $listeners, $slots } = this; const props = getOptionProps(this); const children = $slots.default; - const { mouseenter = noop, mouseleave = noop, ...restListeners } = $listeners; + const { mouseenter = noop, mouseleave = noop, input, ...restListeners } = $listeners; const { prefixCls: customizePrefixCls, indeterminate, ...restProps } = props; const getPrefixCls = this.configProvider.getPrefixCls; const prefixCls = getPrefixCls('checkbox', customizePrefixCls);