From 8e018a51cce491a9f9d9bbfc05e997abfa5b90a9 Mon Sep 17 00:00:00 2001 From: Apple <> Date: Mon, 13 Jun 2022 16:39:07 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=90=A5=E9=94=80=E7=B3=BB=E7=BB=9F-?= =?UTF-8?q?=E7=AB=8B=E5=87=8F=E9=87=91=E3=80=91=E7=AB=8B=E5=87=8F=E9=87=91?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E9=A1=B5=E9=9D=A2=EF=BC=8C=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E5=AD=97=E6=95=B0=E8=A7=92=E6=A0=87=E5=9B=9E=E6=98=BE=E4=B8=8D?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/input/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}