Explorar o código

时间-月份调整

qianming %!s(int64=4) %!d(string=hai) anos
pai
achega
8c20355452

+ 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();