<button onClick={this.handleClick.bind(this, props0, props1, ...}></button>
handleClick(porps0, props1, ..., event) {
// your code here
}
转载于:https://www.cnblogs.com/fayin/p/7346351.html
<button onClick={this.handleClick.bind(this, props0, props1, ...}></button>
handleClick(porps0, props1, ..., event) {
// your code here
}
转载于:https://www.cnblogs.com/fayin/p/7346351.html