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);