代码调整

This commit is contained in:
joylink_cuiweidong 2022-04-18 17:13:54 +08:00
parent 25c8ddd667
commit 62be008849

View File

@ -118,7 +118,7 @@ export default {
// this.myChart2 = echarts.init(chartDom2); // this.myChart2 = echarts.init(chartDom2);
const eachInterval = this.fullPoint / 10; const eachInterval = this.fullPoint / 10;
this.gradeInterval = []; this.gradeInterval = [];
for(i=0;i<10;i++){ for(var i=0;i<10;i++){
this.gradeInterval.push(eachInterval*i+'-'+eachInterval*(i+1)); this.gradeInterval.push(eachInterval*i+'-'+eachInterval*(i+1));
} }
const option = { const option = {