From f4dec5e5b3a400a6c0fe8cc7fade6b6a01621bfa Mon Sep 17 00:00:00 2001
From: guoshipeng <3194674006@qq.com>
Date: Fri, 18 Aug 2023 10:21:05 +0800
Subject: [PATCH] fix:优化websocket
---
src/views/charts/index.vue | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/views/charts/index.vue b/src/views/charts/index.vue
index 73b80cd..e24a91d 100644
--- a/src/views/charts/index.vue
+++ b/src/views/charts/index.vue
@@ -140,6 +140,10 @@
medium: '',
isSelect: false,
options1: [
+ {
+ label: '������������',
+ value: '������������',
+ },
{
label: '���������',
value: '���������',
@@ -183,6 +187,9 @@
} else if (nv === '���������') {
this.dataType = 'HourPicker1'
this.unit = 'hour'
+ } else if (nv === '������������') {
+ this.dataType = 'HourPicker1'
+ this.unit = 'FiveMinute'
} else {
this.dataType = 'CustomPicker'
this.unit = 'hour'
@@ -280,6 +287,7 @@
if (lockLength < data[i].deviceData.length) {
newLineChartData.series.push({
data: [],
+ // large: true,
name: '',
type: 'line',
label: {
@@ -292,6 +300,7 @@
newLineChartData.series.push({
data: [],
name: '',
+ // large: true,
type: 'line',
})
}
@@ -347,6 +356,7 @@
},
// ���������������������������������
getSensor() {
+ this.newSensor = []
// stringMacs.su
// var newMac = this.newMac[this.newMac.length - 1][this.newMac[this.newMac.length - 1].length - 1]
// this.newMac1 = this.newMac[this.newMac.length - 1][this.newMac[this.newMac.length - 1].length - 1]
--
Gitblit v1.8.0