task#,uat,KPI时间:改成默认 24年12月
This commit is contained in:
@ -1207,8 +1207,10 @@ export default {
|
|||||||
year = new Date(this.current).getFullYear();
|
year = new Date(this.current).getFullYear();
|
||||||
month = new Date(this.current).getMonth() + 1;
|
month = new Date(this.current).getMonth() + 1;
|
||||||
} else {
|
} else {
|
||||||
year = new Date().getFullYear();
|
/*year = new Date().getFullYear();
|
||||||
month = new Date().getMonth() + 1;
|
month = new Date().getMonth() + 1;*/
|
||||||
|
year = 2024
|
||||||
|
month = 12
|
||||||
}
|
}
|
||||||
let yearAndMonth = year + '-' + (month > 9 ? month : '0' + month);
|
let yearAndMonth = year + '-' + (month > 9 ? month : '0' + month);
|
||||||
this.current = dayjs(new Date(yearAndMonth)).format('YYYY-MM')
|
this.current = dayjs(new Date(yearAndMonth)).format('YYYY-MM')
|
||||||
|
Reference in New Issue
Block a user