<button onClick={alert('You clicked me!')}> If you want to define your event handler inline, wrap it in an anonymous function like so:.
確定! 回上一頁