hookehuyr

fix(collectionSettings): 调整日期选择器的最大日期范围为当前年份后80年

......@@ -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日
// 银行选择器当前选中的值
......