提示:echarts绘图时首次加载会乱,刷新后正常解决 前言 在使用echarts绘图时首次加载会乱,刷新后正常解决 echarts绘图时首次加载会乱 代码如下(示例):把样式给container即可解决 <div id="container" class="note"></div> <style scoped> .note { position: absolute; width: 500px; height: 300px; margin-left: 20%; } </style>