Showing
1 changed file
with
3 additions
and
3 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2025-05-29 15:34:17 | 2 | * @Date: 2025-05-29 15:34:17 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-12-17 10:05:41 | 4 | + * @LastEditTime: 2025-12-17 10:07:42 |
| 5 | * @FilePath: /mlaj/src/views/checkin/IndexCheckInPage.vue | 5 | * @FilePath: /mlaj/src/views/checkin/IndexCheckInPage.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -567,8 +567,8 @@ const getTaskDetail = async (month) => { | ... | @@ -567,8 +567,8 @@ const getTaskDetail = async (month) => { |
| 567 | // myCheckinDates.value = myCheckinDates.value.map(date => { | 567 | // myCheckinDates.value = myCheckinDates.value.map(date => { |
| 568 | // return dayjs(date).date(); | 568 | // return dayjs(date).date(); |
| 569 | // }) | 569 | // }) |
| 570 | - myTodayGratitudeCount.value = data.my_today_gratitude_count; | 570 | + myTodayGratitudeCount.value = data.my_today_gratitude_count || 0; |
| 571 | - myTotalGratitudeCount.value = data.my_total_gratitude_count; | 571 | + myTotalGratitudeCount.value = data.my_total_gratitude_count || 0; |
| 572 | } | 572 | } |
| 573 | } | 573 | } |
| 574 | 574 | ... | ... |
-
Please register or login to post a comment