From 04e9a50ede30337c35e9f28b7f7985f3e717a91f Mon Sep 17 00:00:00 2001 From: gouzi <50100966+810505339@users.noreply.github.com> Date: Sat, 4 Jan 2025 21:27:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8DInput?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E4=BF=AE=E6=94=B9=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=20(#814)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/wd-input/wd-input.vue | 29 ++++++++++--------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/src/uni_modules/wot-design-uni/components/wd-input/wd-input.vue b/src/uni_modules/wot-design-uni/components/wd-input/wd-input.vue index 6b53c3655..2c6abbd04 100644 --- a/src/uni_modules/wot-design-uni/components/wd-input/wd-input.vue +++ b/src/uni_modules/wot-design-uni/components/wd-input/wd-input.vue @@ -57,9 +57,9 @@ 0 ? 'wd-input__count-current' : '', + String(inputValue).length > maxlength! ? 'is-error' : '' + ]" > {{ String(inputValue).length }} @@ -88,7 +88,7 @@ export default {