diff --git a/src/components/input/main.js b/src/components/input/main.js index 408614d8..8b2cac8e 100644 --- a/src/components/input/main.js +++ b/src/components/input/main.js @@ -184,7 +184,7 @@ import classNames from 'classnames' {kind=="text"?:} :null} {disabled==false&&clearShow==true&&this.state.iptVal?:null} - {disabled==false&&countShow==true?{this.props.value.length}/{maxLength}:null} + {disabled==false&&countShow==true?{String(this.props.value).length}/{maxLength}:null} {unit?{unit}:null}