fix: Input.Search class not work (#3541)

pull/3567/head
He JinChao 2021-01-19 23:43:01 +08:00 committed by GitHub
parent b07190e13d
commit ca444b549c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ export default defineComponent({
[`${prefixCls}-${size}`]: !!size, [`${prefixCls}-${size}`]: !!size,
}); });
} else { } else {
inputClassName = prefixCls; inputClassName = classNames(prefixCls, className);
} }
const inputProps = { const inputProps = {