首页 > 其他分享 >echarts 报错 TypeError: Cannot read properties of undefined (reading 'regions')

echarts 报错 TypeError: Cannot read properties of undefined (reading 'regions')

时间:2022-10-28 15:22:06浏览次数:70  
标签:TypeError undefined read regions Cannot 报错 reading echarts

配置都写齐了,发现一直报错提示这个,找遍代码全局发现配置中的regions也写了,但是就是显示不出来

最后发现是在geo中的map属性没有填写,填上即可;regiser等属性都要对应该值

 

标签:TypeError,undefined,read,regions,Cannot,报错,reading,echarts
From: https://www.cnblogs.com/LylePark/p/16836196.html

相关文章