From 4af0cbad96babd8925b12a7eeacd5a44c43147ca Mon Sep 17 00:00:00 2001 From: yezhichao <651778286@qq.com> Date: Tue, 7 Dec 2021 17:57:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=B6=E9=92=9F=E8=B6=85?= =?UTF-8?q?=E8=BF=8712=E7=82=B9=E6=97=B6=E6=98=BE=E7=A4=BA=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/render/components/Clock.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/components/Clock.vue b/src/render/components/Clock.vue index 8624297..60ae8f7 100644 --- a/src/render/components/Clock.vue +++ b/src/render/components/Clock.vue @@ -224,7 +224,7 @@ const update = (dateTime: Date) => { const second_data = seconds const minute_data = second_data / 60 + minutes - const hour_data = minute_data / 60 + hours + const hour_data = (minute_data / 60 + hours) % 12 const value = { series: [