task#,uat,KPI时间:改成默认 24年12月

This commit is contained in:
2025-01-09 16:04:37 +08:00
parent 9990cf74d0
commit 5c83fa773b

View File

@ -1207,8 +1207,10 @@ export default {
year = new Date(this.current).getFullYear();
month = new Date(this.current).getMonth() + 1;
} else {
year = new Date().getFullYear();
month = new Date().getMonth() + 1;
/*year = new Date().getFullYear();
month = new Date().getMonth() + 1;*/
year = 2024
month = 12
}
let yearAndMonth = year + '-' + (month > 9 ? month : '0' + month);
this.current = dayjs(new Date(yearAndMonth)).format('YYYY-MM')