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 6b53c365..2c6abbd0 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 {