Antd Table (index.js:1 Warning: [antd: Table] Each record in dataSource of table should have a un...
1.简介在用Antd的Table组件时报错,那是因为数据源中默认必须每条记录的key为主键Warning:[antd:Table]EachrecordindataSourceoftableshouldhaveaunique`key`prop,orset`rowKey`ofTabletoanuniqueprimarykey[{"key":1,"name":"zhangsan"},{"key":2,"