hanbaoshan
2020-08-03 2385c7389f9f222be2daf9c01e3c1270c89fa230
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>