From e546073431aaac3b645b864d8fa959d9fc51c700 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E5=B2=A9?= Date: Wed, 26 Nov 2025 14:08:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AD=BE=E5=88=B0=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/points-and-badge/check-in.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/points-and-badge/check-in.vue b/src/components/points-and-badge/check-in.vue index 2adbddf9..bf337eb5 100644 --- a/src/components/points-and-badge/check-in.vue +++ b/src/components/points-and-badge/check-in.vue @@ -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); }