From 81b39a2f9b00ab6be4b2075a28ef5f1f8e497da8 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期二, 08 九月 2020 14:48:50 +0800 Subject: [PATCH] 取消摄像机树的锁定按钮, 修复检索便签选择请求两次的bug --- src/components/subComponents/eChartsBar.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/subComponents/eChartsBar.vue b/src/components/subComponents/eChartsBar.vue index 4cd7a99..2659395 100644 --- a/src/components/subComponents/eChartsBar.vue +++ b/src/components/subComponents/eChartsBar.vue @@ -73,7 +73,7 @@ }, grid: { top: 10, - right: 30, + right: 40, bottom: 20, left: 40, }, @@ -161,12 +161,14 @@ } ] } + this.eChartsObj = echarts.init(this.$refs.cpuMenery); this.eChartsObj.setOption(options); + }, windowSizeChange() { this.eChartsObj.resize(); - }, + } } }; </script> -- Gitblit v1.8.0