hanbaoshan
2020-08-26 21f203a1f24ab2a869ba942a1f1f7c24e80a2b77
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>