Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
jgdl
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-08-08 11:24:14 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
85ed18fc344c3cf9f7d9ffc7e536aadd703771d7
85ed18fc
1 parent
5b3233cf
fix(collectionSettings): 调整日期选择器的最大日期范围为当前年份后80年
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/pages/collectionSettings/index.vue
src/pages/collectionSettings/index.vue
View file @
85ed18f
...
...
@@ -413,14 +413,14 @@ const idcardBeginDate = ref(new Date());
const idcardEndDate = ref(new Date());
/**
* 日期选择器的最大日期(当
天
)
* 日期选择器的最大日期(当
前年份后80年
)
*/
const maxYearDate = ref(new Date());
const currentYear = new Date().getFullYear();
const maxYearDate = ref(new Date(currentYear + 80, 11, 31)); // 80年后的12月31日
/**
* 日期选择器的最小日期(当前年份前80年)
*/
const currentYear = new Date().getFullYear();
const minYearDate = ref(new Date(currentYear - 80, 0, 1)); // 80年前的1月1日
// 银行选择器当前选中的值
...
...
Please
register
or
login
to post a comment