fix:搜索框去掉clear按钮,修复点击clear跳转网页

This commit is contained in:
fanxb 2020-02-02 00:00:45 +08:00
parent 11d4f2de95
commit 9cc1b83357

View File

@ -200,7 +200,6 @@ class Search extends React.Component {
value={content}
placeholder={currentOptionIndex === 0 ? "检索我的书签" : "搜索"}
enterButton
allowClear
onSearch={this.enter.bind(this)}
onChange={this.contentChange.bind(this)}
onKeyDown={this.keyUp.bind(this)}