|
@@ -89,7 +89,7 @@ export class RightPanelComponent {
|
|
|
this.yearOptions = Array.from({ length: isInit ? date.getFullYear() - 2023 : 1 }, (_, i) => ({
|
|
|
label: `${date.getFullYear() - i}年`,
|
|
|
value: date.getFullYear() - i,
|
|
|
- }));
|
|
|
+ })).reverse();
|
|
|
this.year = this.yearOptions[this.yearOptions.length - 1].value;
|
|
|
this.month = date.getMonth() + 1;
|
|
|
}
|