From fe046169373833eba5420d682cfec4238567af6c Mon Sep 17 00:00:00 2001 From: Dustella Date: Tue, 18 Feb 2025 13:03:25 +0800 Subject: [PATCH] fix: day iteration correct --- src/composables/dateOpt.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/composables/dateOpt.ts b/src/composables/dateOpt.ts index 5e850d7..a71ec4f 100644 --- a/src/composables/dateOpt.ts +++ b/src/composables/dateOpt.ts @@ -27,6 +27,7 @@ function _useOptions() { } if (options.castDayNo >= 29) { setTargetDate(castBeginDate.value!.add({ days: 1 })) + castTargetDate.value = castBeginDate.value!.add({ days: 1 }) } else { setTargetDate(castTargetDate.value!.add({ days: 1 }))