zhangqi hace 2 años
padre
commit
2cdefa78ce
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/utils/utils.js

+ 1 - 1
src/utils/utils.js

@@ -259,7 +259,7 @@ export default {
     }
   },
   date:{
-    yearStart:`${(new Date).getFullYear()}-01-01`,
+    yearStart:`${(new Date).getFullYear()-1}-01-01`,
     yearEnd:`${(new Date).getFullYear()}-12-31`,
   }
 }