459242451@qq.com hace 3 años
padre
commit
c6026975bb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      ruoyi-ui/src/views/components/table/homeTable.vue

+ 1 - 1
ruoyi-ui/src/views/components/table/homeTable.vue

@@ -519,7 +519,7 @@ export default {
     getMonthDate() {
       var time = new Date();
       var year = time.getFullYear();
-      var month = time.getMonth();
+      var month = time.getMonth() + 1;
       if (month > 9) {
         this.shipDate.endMonth = year + "-" + month
       } else if (month > 0) {