hookehuyr

fix(profile): 调整积分页面的日期选择范围

将最小日期从2020年改为2015年,最大日期从2030年改为2035年,以支持更广的时间范围选择
...@@ -131,8 +131,8 @@ const showStartDatePicker = ref(false) ...@@ -131,8 +131,8 @@ const showStartDatePicker = ref(false)
131 const showEndDatePicker = ref(false) 131 const showEndDatePicker = ref(false)
132 132
133 const now = new Date() 133 const now = new Date()
134 -const minDate = new Date(2020, 0, 1) 134 +const minDate = new Date(2015, 0, 1)
135 -const maxDate = new Date(2030, 11, 31) 135 +const maxDate = new Date(2035, 11, 31)
136 const currentStartDate = ref([now.getFullYear().toString(), (now.getMonth() + 1).toString().padStart(2, '0'), now.getDate().toString().padStart(2, '0')]) 136 const currentStartDate = ref([now.getFullYear().toString(), (now.getMonth() + 1).toString().padStart(2, '0'), now.getDate().toString().padStart(2, '0')])
137 const currentEndDate = ref([now.getFullYear().toString(), (now.getMonth() + 1).toString().padStart(2, '0'), now.getDate().toString().padStart(2, '0')]) 137 const currentEndDate = ref([now.getFullYear().toString(), (now.getMonth() + 1).toString().padStart(2, '0'), now.getDate().toString().padStart(2, '0')])
138 138
......