From df438ecd2e03416f0454cf98a667d9e53a1b5dd8 Mon Sep 17 00:00:00 2001
From: guoshipeng <3194674006@qq.com>
Date: Mon, 09 Jan 2023 13:19:18 +0800
Subject: [PATCH] 1.空气质量报告模板修改,2.走航监测报告模板修改,3.道路尘负荷页面03区间修改,4.尘负荷走航报告模板名字修改

---
 src/views/charts/index.vue |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/views/charts/index.vue b/src/views/charts/index.vue
index 31fb437..929364a 100644
--- a/src/views/charts/index.vue
+++ b/src/views/charts/index.vue
@@ -282,20 +282,15 @@
                     },
                   })
                 }
-              } else if (lockLength < data[i].deviceData.length) {
+              } else {
                 newLineChartData.series.push({
                   data: [],
                   name: '',
                   type: 'line',
-                  label: {
-                    show: false,
-                    position: 'top',
-                  },
                 })
               }
               newLineChartData.series[j].name = data[i].deviceData[j].name
               newLineChartData.title.push(data[i].deviceData[j].name)
-              lockLength++
               newLineChartData.series[j].data.push(
                 data[i].deviceData[j].sensorValue
               )
@@ -307,7 +302,7 @@
           }
           // newLineChartData.title = this.value
           this.lineChartData = newLineChartData
-          // console.log(newLineChartData, 'newLineChartData')
+          console.log(lineChartData, 'newLineChartData')
         })
         .catch((err) => {
           console.log(err)

--
Gitblit v1.8.0