React表格报错Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key.

解决:

<Table
bordered
rowKey={record=>record.id} //解决
components={this.components}
columns={columns}
dataSource={this.state.tData}
pagination={this.state.pagination}
onChange={this.handleTableChange}
/>
原文地址:https://www.cnblogs.com/lj8023/p/10275770.html