yuanhao
2025-05-19 cc610ef597a4b600b4c48c80026f3a99be171f3b
uni_modules/yt-dateTimePicker/components/yt-dateTimePicker/yt-dateTimePicker.vue
@@ -53,6 +53,14 @@
            type: Number,
            default: 2000,
         },
         startMonth: {
            type: Number,
            default: 0
         },
         startDay: {
            type: Number,
            default: 0
         },
         endYear: {
            type: Number,
            default: 2099,
@@ -68,7 +76,7 @@
         timeInit: {
            type: String,
            default: '', //new Date('2023-5-20').valueOf()
         },
         }
      },
      data() {
@@ -132,6 +140,7 @@
         initMonths() {
            const months = [];
            for (let month = 1; month <= 12; month++) {
               months.push(month);
               if (this.currentDatetime.getMonth() + 1 === month) {