<form onsubmit="console.log('You clicked submit.'); return false"> <button type="submit">Submit</button> </form>. 在React 中,你則可以這樣寫:.
確定! 回上一頁