[Solution found!] 我正在使用React 0.14.7,使用onKeyPress并event.key运行良好。 handleKeyPress = (event) => { if(event.key === 'Enter'){ console.log('enter ...
確定! 回上一頁