位置调整一下

This commit is contained in:
2betop 2020-06-11 20:05:07 +08:00
parent b78ae0888c
commit 372b6ba8a5
1 changed files with 2 additions and 2 deletions

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>
);
}