先上图
<div id="mainOne" style="width: 230px;height:130px;"></div>复制
var dom1 = document.getElementById('mainOne')复制
核心代码
setTemperature(){ var dom1 = document.getElementById('mainOne') var dom2 = document.getElementById('mainTwo') var dom3 = document.getElementById('mainThree') var myChart = echarts.init(dom1, null, { renderer: 'canvas', useD
复制