a-table 里加上这一段
:rowKey="record => record.dataIndex"
Ant Design Table报错:Warning: [antdv: Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key.]
原文:https://www.cnblogs.com/nongshen/p/14817971.html