From 3725bb55f0c4bf2e7402d75e8f6453ef562febfb Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Fri, 20 Sep 2024 10:32:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=80=BB=E8=A7=88=E6=96=B0=E5=A2=9E=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/config.js | 1 + src/views/index.vue | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/public/config.js b/public/config.js index 5580298..6a83fba 100644 --- a/public/config.js +++ b/public/config.js @@ -1,5 +1,6 @@ window.publicConfig={ BASE_API:"http://192.168.66.16/api", + // BASE_API:"http://www.balib.cn:8442/api/", // BASE_API:"http://10.97.121.2/api", // socket url WS_URL_TY: 'ws://10.97.121.2/ty', diff --git a/src/views/index.vue b/src/views/index.vue index 88a465d..554045e 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -529,12 +529,13 @@ export default { // that.getGcgNumDatas(); var xData = that.rsqsXData; - var gcolor = ['#a9eeff', '#6666FF', '#FF6600', '#02ff00', '#00ffff', '#fdff00']; + var gcolor = ['#a9eeff', '#6666FF', '#FF6600', '#02ff00', '#00ffff', '#fdff00', '#0a0aff']; var data = that.rsqsData_z; var series = []; for (var i = 0; i < data.length; i++) { + series.push({ name: that.rsqsDataName[i], type: "line", @@ -546,7 +547,7 @@ export default { normal: { color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{ offset: 0, - color: gcolor[i] + color: gcolor[i] }, { offset: 0.8, color: '#fff',