位置调整一下

This commit is contained in:
2betop 2020-06-11 20:05:07 +08:00
parent 72db95752b
commit 5d7756e426

View File

@ -104,13 +104,13 @@ export class InputBox extends React.Component<InputBoxProps, InputBoxState> {
onBlur={this.handleBlur} onBlur={this.handleBlur}
/> />
{children}
{clearable && !disabled && value ? ( {clearable && !disabled && value ? (
<a onClick={this.clearValue} className={cx('InputBox-clear')}> <a onClick={this.clearValue} className={cx('InputBox-clear')}>
<Icon icon="close" className="icon" /> <Icon icon="close" className="icon" />
</a> </a>
) : null} ) : null}
{children}
</div> </div>
); );
} }