fix: day iteration correct

This commit is contained in:
Dustella 2025-02-18 13:03:25 +08:00
parent 72df2a9c00
commit fe04616937
Signed by: Dustella
GPG Key ID: 35AA0AA3DC402D5C

View File

@ -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 }))