forked from Gitlink/forgeplus-react
顶部搜索优化
This commit is contained in:
parent
3087e5471a
commit
d81d456d76
|
@ -10,7 +10,7 @@ export default ({history}) => {
|
|||
}
|
||||
return (
|
||||
<React.Fragment>
|
||||
<div className="headSerach aboutSubTitle" onBlur={()=>setSearchValue(undefined)}>
|
||||
<div className="headSerach aboutSubTitle" onBlur={()=>setSearchValue("")}>
|
||||
<i className = "iconfont icon-bianzu11 font-15" onClick={()=>onGlobalSearch({target:{value:searchValue}})}></i>
|
||||
<Input placeholder="请输入搜索关键字" onPressEnter={onGlobalSearch} onChange={(value)=>setSearchValue(value.target.value)} value={searchValue}></Input>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue