From 0e722c9f6127ea7a41ca08fd36547e421b79edeb Mon Sep 17 00:00:00 2001 From: xufenglei <xufenglei> Date: Wed, 25 Apr 2018 10:26:37 +0800 Subject: [PATCH] 饼图 结论 --- src/app/routes/reports/excel/excel.component.ts | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/app/routes/reports/excel/excel.component.ts b/src/app/routes/reports/excel/excel.component.ts index 5d882ba..a78888a 100644 --- a/src/app/routes/reports/excel/excel.component.ts +++ b/src/app/routes/reports/excel/excel.component.ts @@ -175,9 +175,10 @@ query.timeb = this.dateSrv.date_format(query.timeb, this.timeType.format); } query.type = this.timeType.value; + delete query.sensors; if (this._sensors) { const sensors = []; - for (var key in this._sensors) { + for (const key in this._sensors) { sensors.push(this._sensors[key]); } if (sensors.length > 0) { -- Gitblit v1.8.0