From ae279fb23800edebd1a4a87e92e182ca2c708e7d Mon Sep 17 00:00:00 2001 From: yezhichao <651778286@qq.com> Date: Tue, 30 Nov 2021 06:02:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=97=B6=E9=92=88=E5=92=8C?= =?UTF-8?q?=E5=88=86=E9=92=88=E7=9A=84=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/render/components/Clock.vue | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/render/components/Clock.vue b/src/render/components/Clock.vue index 681d5a4..8624297 100644 --- a/src/render/components/Clock.vue +++ b/src/render/components/Clock.vue @@ -30,6 +30,7 @@ const option = reactive({ { name: 'hour', type: 'gauge', + animation: false, startAngle: 90, endAngle: -270, min: 0, @@ -97,6 +98,7 @@ const option = reactive({ { name: 'minute', type: 'gauge', + animation: false, startAngle: 90, endAngle: -270, min: 0, @@ -226,14 +228,8 @@ const update = (dateTime: Date) => { const value = { series: [ - { - animation: hour_data !== 0, - data: [{ value: hour_data }] - }, - { - animation: minute_data !== 0, - data: [{ value: minute_data }] - }, + { data: [{ value: hour_data }] }, + { data: [{ value: minute_data }] }, { animation: second_data !== 0, data: [{ value: second_data }]