先上图
<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