diff --git a/src/components/input/main.js b/src/components/input/main.js index 0c63917f..408614d8 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.state.iptVallength}/{maxLength}:null} + {disabled==false&&countShow==true?{this.props.value.length}/{maxLength}:null} {unit?{unit}:null}