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-24 12:48:53 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dacefecddfdd1774dd7ae58052e54f6c6dab3648
dacefecd
1 parent
38eb5fa8
fix(profile): 调整积分页面的日期选择范围
将最小日期从2020年改为2015年,最大日期从2030年改为2035年,以支持更广的时间范围选择
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/views/profile/pointsPage.vue
src/views/profile/pointsPage.vue
View file @
dacefec
...
...
@@ -131,8 +131,8 @@ const showStartDatePicker = ref(false)
const showEndDatePicker = ref(false)
const now = new Date()
const minDate = new Date(20
20
, 0, 1)
const maxDate = new Date(203
0
, 11, 31)
const minDate = new Date(20
15
, 0, 1)
const maxDate = new Date(203
5
, 11, 31)
const currentStartDate = ref([now.getFullYear().toString(), (now.getMonth() + 1).toString().padStart(2, '0'), now.getDate().toString().padStart(2, '0')])
const currentEndDate = ref([now.getFullYear().toString(), (now.getMonth() + 1).toString().padStart(2, '0'), now.getDate().toString().padStart(2, '0')])
...
...
Please
register
or
login
to post a comment