位置调整一下

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}
/>
{children}
{clearable && !disabled && value ? (
<a onClick={this.clearValue} className={cx('InputBox-clear')}>
<Icon icon="close" className="icon" />
</a>
) : null}
{children}
</div>
);
}