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

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


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

猜你喜欢

转载自blog.csdn.net/weixin_42043252/article/details/121558801
今日推荐