src/app/routes/forecasting-warning/forecasting-warning.component.ts
@@ -64,7 +64,8 @@ } initForecasting() { this.option['legend'] = {}; delete this.option.series[1]; delete this.option['legend']; this.option.xAxis.data = []; const temp = []; const humidity = []; @@ -146,7 +147,8 @@ } initWarning() { this.option['legend'] = {}; delete this.option.series[1]; delete this.option['legend']; this.isShow = true; const PM2_5 = []; const PM10 = []; const CO = []; const NO2 = []; const O3 = []; const SO2 = []; const title = '空气质量因子';