浏览代码

升压站样式修改

SunZehao 2 年之前
父节点
当前提交
9274bd9bee
共有 2 个文件被更改,包括 6 次插入3 次删除
  1. 4 2
      src/components/PvDetailPages.vue
  2. 2 1
      src/components/focus/syzDetails.vue

+ 4 - 2
src/components/PvDetailPages.vue

@@ -122,10 +122,12 @@ export default {
                     console.log(datas)
                     for(let i in datas.data) {
                         if (that.windturbine.station === i) {
-                            this.startTimer = setInterval(() =>{
+                            that.getPvStationData(datas.data[i].codeInfos)
+                            that.startTimer = setInterval(() =>{
                                 that.getPvStationData(datas.data[i].codeInfos)
                             }, 3000)
-                            this.echartTimer = setInterval(() =>{
+                            that.getEcharts(datas.data[i].codeInfos)
+                            that.echartTimer = setInterval(() =>{
                                 that.getEcharts(datas.data[i].codeInfos)
                             }, 10000)
                         }

+ 2 - 1
src/components/focus/syzDetails.vue

@@ -616,7 +616,8 @@ export default {
     .buttonGroup{
         margin-bottom: 10px;
         display: flex;
-        justify-content: end;
+        // justify-content: end;
+        float: right;
         .el-button-group{
             .el-button{
                 min-height: 30px !important;