Selaa lähdekoodia

电厂大屏 - 首页趋势图x轴时间范围改为7天

wangggziwen 1 vuosi sitten
vanhempi
commit
9f57b3ab4b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      ui/src/views/monitor/elec/elecindex.vue

+ 1 - 1
ui/src/views/monitor/elec/elecindex.vue

@@ -461,7 +461,7 @@ export default {
     },
     /** 抓取最近30天的数据 */
     getLatest30DayData() {
-      listDayLatest30().then(response => {
+      listDayLatest7().then(response => {
         // 最近30天的数据
         this.latest30DayData = response.rows;
       });