From e6421c4ece90615aa0333ec58a723979c978a62b Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期二, 26 十一月 2024 18:25:52 +0800
Subject: [PATCH] fix 1126

---
 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