From 84abfa8ab65d0360eea85f872bd8714c43d164ab Mon Sep 17 00:00:00 2001 From: xuhuihui <3548508071@qq.com> Date: Mon, 27 Jun 2022 10:46:36 +0800 Subject: [PATCH] xhh commit --- .../Frontend/src/components/DecisionSupport.vue | 1 - 04.系统编码/Frontend/src/components/RamanLidar.vue | 7 +++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/04.系统编码/Frontend/src/components/DecisionSupport.vue b/04.系统编码/Frontend/src/components/DecisionSupport.vue index 0ffe303..3bf41b3 100644 --- a/04.系统编码/Frontend/src/components/DecisionSupport.vue +++ b/04.系统编码/Frontend/src/components/DecisionSupport.vue @@ -336,7 +336,6 @@ export default { return newArray; } - const initTimeLineDay = () => { options.times = []; options.currentTime = moment(options.date).format('YYYY-MM-DD'); diff --git a/04.系统编码/Frontend/src/components/RamanLidar.vue b/04.系统编码/Frontend/src/components/RamanLidar.vue index 1bac871..7cb74a6 100644 --- a/04.系统编码/Frontend/src/components/RamanLidar.vue +++ b/04.系统编码/Frontend/src/components/RamanLidar.vue @@ -432,7 +432,7 @@ export default { creates.LidarRatio = new HighChartCreate('LidarRatio'); creates.LidarRatio.setChart(false, 'line', 1500, 600); creates.LidarRatio.setSpecialXAxis('激光雷达比(单位立体角)', 120, 0, 20); - creates.LidarRatio.setSpecialYAxis('高度(m)', 3000, 0); + creates.LidarRatio.setSpecialYAxis('高度(m)'); creates.LidarRatio.setLegend(); creates.LidarRatio.setTooltip('高度: {point.y}'); creates.LidarRatio.setSeries('激光雷达比', 0, null, null, '#3636FF') @@ -841,7 +841,7 @@ export default { } const drawLidarRatioCharts = (result: CustomeArray) => { - if (result.length <= 0) return; + if (result.length == 0) return; const data = LidarRatioPrepareChartData(result); creates.LidarRatio.updateSeries(0, data); options.loadingLidarRatioStatus = false @@ -913,7 +913,7 @@ export default { if (result[0].data == null) return; result[0].data.forEach((item) => { item.forEach((item, index) => { - if (item == null) item = NaN + // if (item == null) item = NaN prepareData.push([item, index * 15]) }) }) @@ -1523,7 +1523,6 @@ export default { locate: options.currentRegion } } - return { date: time, var: variableName,