Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-12-17 10:08:05 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5a64de406c52d9f161e81afdaee75fe3536c0c33
5a64de40
1 parent
ab20b8ec
fix: 为感恩计数添加默认值0防止undefined
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/views/checkin/IndexCheckInPage.vue
src/views/checkin/IndexCheckInPage.vue
View file @
5a64de4
<!--
* @Date: 2025-05-29 15:34:17
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-12-17 10:0
5:41
* @LastEditTime: 2025-12-17 10:0
7:42
* @FilePath: /mlaj/src/views/checkin/IndexCheckInPage.vue
* @Description: 文件描述
-->
...
...
@@ -567,8 +567,8 @@ const getTaskDetail = async (month) => {
// myCheckinDates.value = myCheckinDates.value.map(date => {
// return dayjs(date).date();
// })
myTodayGratitudeCount.value = data.my_today_gratitude_count;
myTotalGratitudeCount.value = data.my_total_gratitude_count;
myTodayGratitudeCount.value = data.my_today_gratitude_count
|| 0
;
myTotalGratitudeCount.value = data.my_total_gratitude_count
|| 0
;
}
}
...
...
Please
register
or
login
to post a comment