ssm中使用echarts报错出现Dom’s width & height should be ready before init怎么解决

很好解决

不废话 步骤如下

1 找到对应的dom 就是那个用来显示统计图的div

2 给该div加个style属性 在里面设置width 和height

如:<div id="container" style="height: 600px;width:1000px"></div>

重新启动 正常显示出表了

猜你喜欢

转载自blog.csdn.net/weixin_42204641/article/details/80830243