From 0d4eaaf4b2ca7f7ceffa52d07b921b96f851fd72 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期三, 02 九月 2020 13:41:33 +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