From 50098f48234b6d53edfdac541b08a95d9d8e63d6 Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Mon, 04 Jun 2018 11:39:31 +0800
Subject: [PATCH] 登录页面  不处理登录失效响应

---
 src/app/routes/report/report.component.ts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/app/routes/report/report.component.ts b/src/app/routes/report/report.component.ts
index 49d5917..85643f5 100644
--- a/src/app/routes/report/report.component.ts
+++ b/src/app/routes/report/report.component.ts
@@ -234,7 +234,7 @@
                 for (const key in res.data.sortList[i]) {
                   const split = key.split('-');
                   this.sensorKeys.forEach(sensor => {
-                    if (sensor.key === split[0]) {
+                    if (sensor.key === split[0] && res.data.sortList[i][key] != 0) {
                       this.resultArr.push({
                         sensorName: sensor.name,
                         monitorPointName: this.items[split[1]].showName,

--
Gitblit v1.8.0