amiya icon indicating copy to clipboard operation
amiya copied to clipboard

Table: 文档中补充说明 rowKey 的变动

Open ImSingee opened this issue 3 years ago • 0 comments

antd 中 rowKey 默认值为 "key",而在 amiya 中被改成了 "id",这点应当在文档中被特别说明

另外,文档 基础使用 - Table 中的第一个示例给的数据存在 key 属性而没有 id 属性,产生 React 警告 Each child in a list should have a unique "key" prop 让人十分困惑,应当修改这个示例

ImSingee avatar Mar 22 '23 08:03 ImSingee