hanbaoshan
2020-08-03 2645dd9c47a894688c2a6c9b151b5a76e7f5a12b
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>