修改签到弹窗的bug

This commit is contained in:
田岩
2025-11-26 14:08:21 +08:00
parent f91410b561
commit e546073431
+4 -3
View File
@@ -217,12 +217,13 @@
checkInSuccessCallback = onCheckInSuccess;
// 示例:X=10时,以"10天前"为第1天,生成35天列表
try {
const X = continuousDay.value - (isSigned.value ? 1 : 0);
const X = continuousDay30.value - (isSigned.value ? 1 : 0);
// const X = 10;
// console.log(`以${continuousDay.value}天`);
// console.log(`以${X}天前为第1天的35天分组日期:`);
console.log('取模', continuousDay30.value);
dateGroups.value = generateGroupedDateList(continuousDay30.value);
// console.log('取', X);
dateGroups.value = generateGroupedDateList(X);
} catch (err) {
console.error(err.message);
}