diff --git a/components/select/index.jsx b/components/select/index.jsx index 2d9fcad792..ae62fdf361 100644 --- a/components/select/index.jsx +++ b/components/select/index.jsx @@ -11,14 +11,15 @@ var AntSelect = React.createClass({ }; }, render() { - var sizeClass = ''; + let sizeClass = ''; if (this.props.size === 'large') { sizeClass = 'ant-select-lg'; } else if (this.props.size === 'small') { sizeClass = 'ant-select-sm'; } + let className = this.props.className || ' '; return ( - ); } });