總之輸入事件都是用原生DOM API傳入的event去處理。 event.target 是被點擊的對象, event.target.value 則是被點擊的對象的value。 <button value={123} ...
確定! 回上一頁