Parcourir la source

风光资源分析页面默认时间改为前一天

baiyanting il y a 1 an
Parent
commit
d71b28fa17

+ 1 - 1
src/views/economicsOperation/stationAnalyse/windAndPhotovoltaic/index.vue

@@ -51,7 +51,7 @@ export default {
     return {
       station: "",
       stationOptions: [],
-      date: dayjs().format("YYYY-MM-DD"),
+      date: dayjs().add(-1, "day").format("YYYY-MM-DD"),
       tabIndex: -1,
       tabOptions: [
         { id: -1, name: "风电" },