代码调整

This commit is contained in:
joylink_cuiweidong 2022-04-18 17:13:54 +08:00
parent 377c1d34b6
commit 63ecb61501

View File

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