|
|
|
@ -393,6 +393,7 @@ class NewHeader extends Component {
|
|
|
|
|
// }
|
|
|
|
|
}
|
|
|
|
|
onSearchhref = (value) => {
|
|
|
|
|
debugger
|
|
|
|
|
window.location.href ="/search?value="+value;
|
|
|
|
|
// let code = e.keyCode;
|
|
|
|
|
|
|
|
|
@ -727,10 +728,10 @@ submittojoinclass=(value)=>{
|
|
|
|
|
style={{display: 'none'}}
|
|
|
|
|
>
|
|
|
|
|
<Search
|
|
|
|
|
placeholder="实践课程/翻转课堂/开发社区/交流问答"
|
|
|
|
|
onSearch={(value)=>this.onSearchhref(value)}
|
|
|
|
|
|
|
|
|
|
onPressEnter={this.onKeywordSearchKeyDown}
|
|
|
|
|
placeholder="实践课程/翻转课堂/开发社区/交流问答"
|
|
|
|
|
// onSearch={(value)=>this.onSearchhref(value)}
|
|
|
|
|
onSearch={value => console.log(value)}
|
|
|
|
|
onPressEnter={this.onKeywordSearchKeyDown}
|
|
|
|
|
style={{ width: 300 }}
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|