react利用ant 的Table实现单行的删除时候为什么Popconfirm的onConfirm的回调传入参数会自动执行?

文章封面
摘要: 解决方法onConfirm = {() => this.onDelete(key)}

解决方法

onConfirm = {() => this.onDelete(key)}

1245 阅读 ← 返回技术栈
图片放大