From 7f16c95dfbb84b6722f3a2914f5a9afa5ddb50ce Mon Sep 17 00:00:00 2001 From: wxc <191104855@qq.com> Date: Fri, 24 Oct 2025 17:10:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=AA=E4=BA=BA=E3=80=81=E5=8D=95?= =?UTF-8?q?=E4=BD=8D=E7=94=BB=E5=83=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/datav/chart-bar.vue | 2 +- src/components/datav/chart-bar1.vue | 7 +- .../sensitivePerception/DepartNegative.vue | 2 +- src/views/sensitivePerception/Model.vue | 30 ++-- src/views/work/Alarm.vue | 140 +++++++----------- 5 files changed, 83 insertions(+), 98 deletions(-) diff --git a/src/components/datav/chart-bar.vue b/src/components/datav/chart-bar.vue index d152b56..7d395b2 100644 --- a/src/components/datav/chart-bar.vue +++ b/src/components/datav/chart-bar.vue @@ -189,7 +189,7 @@ function getColor(val) { font-size: 12px; .bar-item_content { - width: calc(100% - var(--label-width)); + width: calc(100% - var(--label-width) - 42px); } } diff --git a/src/components/datav/chart-bar1.vue b/src/components/datav/chart-bar1.vue index d290e5a..4055458 100644 --- a/src/components/datav/chart-bar1.vue +++ b/src/components/datav/chart-bar1.vue @@ -1,6 +1,6 @@