From d443433fa03a966b6674091bebe469b8c2483bb0 Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期五, 29 十一月 2024 16:51:39 +0800 Subject: [PATCH] fix:1129 端口调整成必填;增加区域的图片如果已经定义返回定义的图片 --- src/views/screen1/components/chart-itm.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/screen1/components/chart-itm.vue b/src/views/screen1/components/chart-itm.vue index b369457..2d787f9 100644 --- a/src/views/screen1/components/chart-itm.vue +++ b/src/views/screen1/components/chart-itm.vue @@ -58,8 +58,8 @@ v1 += parseInt(item.areaStatic.normal || 0); v2 += parseInt(item.areaStatic.warn || 0); v3 += parseInt(item.areaStatic.alarm || 0); - v4 += parseInt(item.areaStatic.beSomething || 0); - v5 += parseInt(item.areaStatic.beNothing || 0); + v4 += parseInt(item.areaStatic.beNothing || 0); + v5 += parseInt(item.areaStatic.beSomething || 0); } this.total = v1 + v2 + v3 + v4 + v5 console.log('v1', v1, 'v2', v2, 'v3', v3, 'v4', v4, 'v5', v5); @@ -184,7 +184,7 @@ }, { offset: 0, - color: "rgba(241, 76, 3, 1)", + color: "rgba(52, 90, 255, 1)", }, ]), }, @@ -201,7 +201,7 @@ }, { offset: 0, - color: "rgba(241, 76, 3, 1)", + color: "rgba(128, 0, 128, 1)", }, ]), }, -- Gitblit v1.9.3