heyujie
2021-10-12 2b6c61d26e63b1ed0c92f9d99120d7b5b387dca9
src/components/subComponents/eChartsBar.vue
@@ -73,7 +73,7 @@
        },
        grid: {
          top: 10,
          right: 30,
          right: 50,
          bottom: 20,
          left: 40,
        },
@@ -161,12 +161,14 @@
          }
        ]
      }
      this.eChartsObj = echarts.init(this.$refs.cpuMenery);
      this.eChartsObj.setOption(options);
    },
    windowSizeChange() {
      this.eChartsObj.resize();
    },
    }
  }
};
</script>