Commit 981764ed authored by 满振华's avatar 满振华

修改组件

parent d7b7482c
...@@ -24,8 +24,9 @@ const BIInput = (props) => { ...@@ -24,8 +24,9 @@ const BIInput = (props) => {
} }
return ( return (
<Input <Input
suffix={props.value ? (<InconFont type="iconguanbi" className={styles.clearIcon} onClick={onClear} />) : null}
{...props} {...props}
suffix={props.value ? (<InconFont type="iconguanbi" className={styles.clearIcon} onClick={onClear} />) : <span />}
/> />
); );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment