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-15 11:21:26 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bf6abfca65385871d11aa365de472ec8eeacee59
bf6abfca
1 parent
40481310
fix(IndexCheckInPage): 切换课程时重置分页参数并重新加载数据
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
src/views/checkin/IndexCheckInPage.vue
src/views/checkin/IndexCheckInPage.vue
View file @
bf6abfc
<!--
* @Date: 2025-05-29 15:34:17
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-12-1
2 20:49:55
* @LastEditTime: 2025-12-1
5 11:20:38
* @FilePath: /mlaj/src/views/checkin/IndexCheckInPage.vue
* @Description: 文件描述
-->
...
...
@@ -338,6 +338,12 @@ const onSelectCourse = (course) => {
console.warn('选中的作业:', course);
// 切换作业后, 刷新当前日期的打卡详情
getTaskDetail(dayjs(selectedDate.value).format('YYYY-MM'));
// 重置分页参数
page.value = 0
checkinDataList.value = []
finished.value = false
// 重新加载数据
onLoad(dayjs(selectedDate.value).format('YYYY-MM-DD'))
}
/**
...
...
Please
register
or
login
to post a comment