diff --git a/Web/src/pages/home/charts.vue b/Web/src/pages/home/charts.vue index 768ed3f..b0b0e78 100644 --- a/Web/src/pages/home/charts.vue +++ b/Web/src/pages/home/charts.vue @@ -99,6 +99,9 @@ export default { var chartDom = this.$refs.chart; var myChart = echarts.init(chartDom); myChart.setOption(this.options); + window.addEventListener("resize",function(){ + myChart.resize(); + }) }, }; \ No newline at end of file diff --git a/Web/src/pages/system/machine/index.vue b/Web/src/pages/system/machine/index.vue index ec9033a..3654990 100644 --- a/Web/src/pages/system/machine/index.vue +++ b/Web/src/pages/system/machine/index.vue @@ -4,63 +4,188 @@ - + - + - + + + + + + + + + + + \ No newline at end of file + + \ No newline at end of file