diff --git a/components/form/style/mixin.less b/components/form/style/mixin.less index 88c8b6b220..c0071bacd9 100644 --- a/components/form/style/mixin.less +++ b/components/form/style/mixin.less @@ -5,8 +5,8 @@ color: @text-color; } // 输入框的不同校验状态 - :not(.@{ant-prefix}-input-disabled).@{ant-prefix}-input, - :not(.@{ant-prefix}-input-affix-wrapper-disabled).@{ant-prefix}-input-affix-wrapper { + :not(.@{ant-prefix}-input-disabled):not(.@{ant-prefix}-input-borderless).@{ant-prefix}-input, + :not(.@{ant-prefix}-input-affix-wrapper-disabled):not(.@{ant-prefix}-input-affix-wrapper-borderless).@{ant-prefix}-input-affix-wrapper { &, &:hover { background-color: @background-color; diff --git a/components/input/style/mixin.less b/components/input/style/mixin.less index 90f37de4d0..93d1701069 100644 --- a/components/input/style/mixin.less +++ b/components/input/style/mixin.less @@ -80,7 +80,7 @@ .disabled(); } - &&-borderless { + &-borderless { &, &:hover, &:focus,