React中使用回车键绑定事件 <Input onKeyDown={e=> this.onKeyDownchange(e)}/> onKeyDownchange(e) { if( e.keyCode == 13) { //事件操作 }}