From f0e1d05a7383171156b70cf193c8435a00b4b656 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Fri, 30 Oct 2020 15:57:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BA=86=E5=B0=8F=E6=97=B6?= =?UTF-8?q?=E5=87=BA=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/regime/week.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/regime/week.vue b/src/views/regime/week.vue index 579ca17..d73cb8a 100644 --- a/src/views/regime/week.vue +++ b/src/views/regime/week.vue @@ -289,7 +289,7 @@ export default defineComponent({ const xs = ref(0); setInterval(()=>{ const now = dayjs(); - const xiaoshi = now.month() + const xiaoshi = now.hour() const fenzhong = now.minute() top.value = (xiaoshi + (fenzhong / 60)) * 0.63; times.value = (xiaoshi > 10 ? xiaoshi : '0' + xiaoshi) + ":" + (fenzhong > 10 ? fenzhong : '0' + fenzhong);