1.react 报错
Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key.
表中的每个记录应该有唯一的“key”支持,或者将“rowKey”设置为唯一的主键。
2.解决方案
方案一:对数据经常处理,加入key的键值对
方案二:设置rowKey
标签:body 键值对 inf 解决 键值 数据 gpo log com
1.react 报错
Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key.
表中的每个记录应该有唯一的“key”支持,或者将“rowKey”设置为唯一的主键。
2.解决方案
方案一:对数据经常处理,加入key的键值对
方案二:设置rowKey
Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key.
标签:body 键值对 inf 解决 键值 数据 gpo log com
原文地址:https://www.cnblogs.com/edensyd/p/10116280.html