From 17bb4f173814da53b1adbd3fe2dcaa9bad5a1a5e Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Tue, 30 Jan 2024 16:31:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B5=84=E6=BA=90=E5=9B=BE=E8=87=AA?= =?UTF-8?q?=E9=80=82=E5=BA=94=E5=92=8C=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ChartLine/index.vue | 59 ++++++++++++++--------------- src/views/monitor/monitor/index.vue | 2 +- 2 files changed, 30 insertions(+), 31 deletions(-) diff --git a/src/components/ChartLine/index.vue b/src/components/ChartLine/index.vue index 91c0a14a..1539da20 100644 --- a/src/components/ChartLine/index.vue +++ b/src/components/ChartLine/index.vue @@ -1,8 +1,5 @@ - + + diff --git a/src/views/monitor/monitor/index.vue b/src/views/monitor/monitor/index.vue index 2ecd8d9f..7383db93 100644 --- a/src/views/monitor/monitor/index.vue +++ b/src/views/monitor/monitor/index.vue @@ -164,7 +164,7 @@ function fnLoadChart(data: Record[]) { type: 'value', name: `${t('views.monitor.monitor.resourceUsage')} ( % )`, position: 'right', - alignTicks: true, + alignTicks: false }, ], grid: { left: '5%', right: '5%', bottom: '20%' },