hanbaoshan
2020-07-29 681c6fb5eb81ce31c6b055d7c150a5887c10468c
算力管理样式调整
2个文件已修改
9 ■■■■■ 已修改文件
src/components/subComponents/SystemInfo.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/subComponents/eChartsBar.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/subComponents/SystemInfo.vue
@@ -75,7 +75,7 @@
        </li> 
      </ul>
    </div>-->
    <div class="eCharts-box" >
    <div class="eCharts-box" v-if="PollData.barCharts.length>0">
      <eChartsBar ref="cpuMeneryCharts" :xAxisData="PollData.barCharts"></eChartsBar>
    </div>
  </div>
@@ -125,7 +125,8 @@
    initCpuCharts() {
      this.$forceUpdate();
    }
  },
  }
}
</script>
<style lang="scss">
src/components/subComponents/eChartsBar.vue
@@ -161,12 +161,14 @@
          }
        ]
      }
      this.eChartsObj = echarts.init(this.$refs.cpuMenery);
      this.eChartsObj.setOption(options);
    },
    windowSizeChange() {
      this.eChartsObj.resize();
    },
    }
  }
};
</script>