src/views/radar/index.vue
@@ -68,8 +68,8 @@ dataType: 'HourPicker', defaultData: {}, newData: [], high1: 1000, high2: 7000, high1: 100, high2: 3000, timeList: null, currentTimeIdx: 0 }; @@ -121,9 +121,7 @@ this.chart = null; } this.chart = chartLib.init(chartEl); console.log(DATA); if (!DATA || !DATA.time || !DATA.time.length) { console.log(222); this.chart.setOption({ graphic: { type: 'text',