根据Reactjs.org 处理事件并防止默认使用以下代码: function ActionLink() { function handleClick(e) { e.preventDefault(); console.log('The link was clicked.
確定! 回上一頁