From c5b67f6a392d33c1c6c1996a8509573a4abaa42a Mon Sep 17 00:00:00 2001 From: zkwolf Date: Sat, 28 Nov 2020 20:52:00 +0800 Subject: [PATCH] fix: input lose style #3273 --- components/input/TextArea.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/input/TextArea.tsx b/components/input/TextArea.tsx index 671a8fa275..77361062fa 100644 --- a/components/input/TextArea.tsx +++ b/components/input/TextArea.tsx @@ -108,8 +108,8 @@ export default defineComponent({ const resizeProps = { ...props, ...this.$attrs, - style: style && !props.showCount, - class: customClass && !props.showCount, + style: !props.showCount && style, + class: !props.showCount && customClass, showCount: null, prefixCls, onInput: this.handleChange,