diff --git a/components/auto-complete/index.tsx b/components/auto-complete/index.tsx index 865b80d7ca..acfaa9984d 100755 --- a/components/auto-complete/index.tsx +++ b/components/auto-complete/index.tsx @@ -82,7 +82,7 @@ export default class AutoComplete extends React.Component } render() { - let { + const { size, className = '', notFoundContent, prefixCls, optionLabelProp, dataSource, children, } = this.props;