fix: type check failed #1356

pull/1370/head
tanjinzhou 2019-10-30 16:36:23 +08:00
parent af666b8bce
commit 2e9b3000ac
1 changed files with 1 additions and 1 deletions

View File

@ -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);