echarts graph关系图报错:Cannot set properties of undefined (setting ‘dataIndex‘)

项目场景:使用Echarts的graph关系图时报错:Cannot set properties of undefined (setting ‘dataIndex’)在这里插入图片描述


原因及解决方法:data中有name重复的数据,去掉即可。

Guess you like

Origin blog.csdn.net/weixin_42043252/article/details/121558801