From 817ea18c62e32b2a3394ae1c245f79bc745c5ac2 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期一, 10 八月 2020 17:42:26 +0800 Subject: [PATCH] 实时监控间距调整,统计查询查找此人界面调整 --- src/components/subComponents/eChartsBar.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/components/subComponents/eChartsBar.vue b/src/components/subComponents/eChartsBar.vue index 4cd7a99..ebfc650 100644 --- a/src/components/subComponents/eChartsBar.vue +++ b/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> -- Gitblit v1.8.0