ant table、proTable表格整行点击事件并获取当前行的数据

876 阅读1分钟

API:onRow 设置行属性

onRow={record => { return { onClick: () => this.onSelect([record.id], [record]) // 点击行 }; }}