1:设置了rowKey属性,但所指定字段的值不是唯一的
Warning: Each child in an array or iterator should have a unique "key" prop.
2:没有设置rowKey属性,不过设置了table的columns属性的配置中第一列的key(react所需),但key所指定字段的值不是唯一的
Warning: Each record in table should have a uniquekeyprop,or setrowKeyto an unique primary key.
3.没有设置rowKey属性,也没有设置columns属性的配置中第一列的key(react所需)
Warning: Each record in dataSource of table should have a uniquekeyprop, or setrowKeyto an unique primary key,see [https://u.ant.design/table-row-key](https://u.ant.design/table-row-key)
所以既要在columns加key,table组件上也要加上 rowkey