ソースを参照

fix(calendar): 组件个别月份不展示问题 (#596)

拧巴的猫 4 年 前
コミット
37b1585288
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/packages/calendar/calendar.vue

+ 1 - 1
src/packages/calendar/calendar.vue

@@ -151,7 +151,7 @@ export default {
           month = month == 12 ? 1 : ++month;
           break;
       }
-      return [year, Utils.getNumTwoBit(month), monthData.curData[2]];
+      return [year, Utils.getNumTwoBit(month), Utils.getMonthDays(year, month)];
     },
 
     getDaysStatus(days, type) {