Browse Source

fix(inputNumber): inputNumber size UI error (#5873)

pull/5879/head
gp 2 years ago committed by GitHub
parent
commit
e79dd3508c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/input-number/index.tsx

2
components/input-number/index.tsx

@ -124,8 +124,6 @@ const InputNumber = defineComponent({
const affixWrapperCls = classNames(`${preCls}-affix-wrapper`, { const affixWrapperCls = classNames(`${preCls}-affix-wrapper`, {
[`${preCls}-affix-wrapper-focused`]: focused.value, [`${preCls}-affix-wrapper-focused`]: focused.value,
[`${preCls}-affix-wrapper-disabled`]: props.disabled, [`${preCls}-affix-wrapper-disabled`]: props.disabled,
[`${preCls}-affix-wrapper-sm`]: size.value === 'small',
[`${preCls}-affix-wrapper-lg`]: size.value === 'large',
[`${preCls}-affix-wrapper-rtl`]: direction.value === 'rtl', [`${preCls}-affix-wrapper-rtl`]: direction.value === 'rtl',
[`${preCls}-affix-wrapper-readonly`]: readonly, [`${preCls}-affix-wrapper-readonly`]: readonly,
[`${preCls}-affix-wrapper-borderless`]: !bordered, [`${preCls}-affix-wrapper-borderless`]: !bordered,

Loading…
Cancel
Save