项目场景:使用Echarts的graph关系图时报错:Cannot set properties of undefined (setting ‘dataIndex’) 原因及解决方法:data中有name重复的数据,去掉即可。