摘要: 在开发react项目时,点击事件需要传参,就有了以下的写法: <Button type="primary" size="small" onClick={this.showModal.bind(this, lists[i])}>编辑</Button> <Button type="primary" si 阅读全文
posted @ 2018-08-02 15:02 雾以泪聚rx 阅读(120) 评论(0) 推荐(0) 编辑