我正在使用nivo线组件来绘制堆积线图。我收到了这个错误:
Warning: Encountered two children with the same key, `L1.87.83999837239584`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version
它在谈论什么钥匙和孩子?图表上的每个数据点是否都是远程可能是一个独特的React元素,它是某个集合的一部分,必须在"反应意义中唯一标识?#/ p>
答案 0 :(得分:1)