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