fix: input lose style #3273 (#3274)

pull/3291/head
zkwolf 4 years ago committed by GitHub
parent 67942e4ff4
commit 7f239b26e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -108,8 +108,8 @@ export default defineComponent({
const resizeProps = { const resizeProps = {
...props, ...props,
...this.$attrs, ...this.$attrs,
style: style && !props.showCount, style: !props.showCount && style,
class: customClass && !props.showCount, class: !props.showCount && customClass,
showCount: null, showCount: null,
prefixCls, prefixCls,
onInput: this.handleChange, onInput: this.handleChange,

Loading…
Cancel
Save