From 56a4397eb6e5a107a67062713145864ee038e4ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Mon, 22 Jul 2019 09:23:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/tpm/NewHeader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/react/src/modules/tpm/NewHeader.js b/public/react/src/modules/tpm/NewHeader.js index d698ebf95..d6d076f93 100644 --- a/public/react/src/modules/tpm/NewHeader.js +++ b/public/react/src/modules/tpm/NewHeader.js @@ -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)=>{ > this.onSearchhref(value)} - + onSearch={value =>this.onSearchhref(value)} onPressEnter={this.onKeywordSearchKeyDown} style={{ width: 300 }} />