Skip to content

Commit c5b67f6

Browse files
committed
fix: input lose style vueComponent#3273
1 parent 67942e4 commit c5b67f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/input/TextArea.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ export default defineComponent({
108108
const resizeProps = {
109109
...props,
110110
...this.$attrs,
111-
style: style && !props.showCount,
112-
class: customClass && !props.showCount,
111+
style: !props.showCount && style,
112+
class: !props.showCount && customClass,
113113
showCount: null,
114114
prefixCls,
115115
onInput: this.handleChange,

0 commit comments

Comments
 (0)