Skip to content

Commit

Permalink
fix: input lose style #3273 (#3274)
Browse files Browse the repository at this point in the history
  • Loading branch information
zkwolf authored Nov 29, 2020
1 parent 67942e4 commit 7f239b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/input/TextArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7f239b2

Please sign in to comment.