qianming пре 4 година
родитељ
комит
8c20355452
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      report-ui/src/views/report/bigscreen/designer/widget/widgetTime.vue

+ 1 - 1
report-ui/src/views/report/bigscreen/designer/widget/widgetTime.vue

@@ -94,7 +94,7 @@ export default {
     },
     formatWeek(date, fmt) {
       const year = date.getFullYear();
-      const month = date.getMonth();
+      const month = date.getMonth() + 1;
       const day = date.getDate();
       const hours = date.getHours();
       const minutes = date.getMinutes();