From a021b459247a5cf825c2a132f3da1e5d31e8037c Mon Sep 17 00:00:00 2001 From: whychdw <49690745@qq.com> Date: 星期四, 05 九月 2019 11:53:12 +0800 Subject: [PATCH] 修改内容 --- src/js/components.js | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/js/components.js b/src/js/components.js index 9929a85..dd726c1 100644 --- a/src/js/components.js +++ b/src/js/components.js @@ -386,6 +386,11 @@ chart: '' } }, + watch: { + height: function(value) { + this.chart.setSize(undefined, value); + } + }, methods: { init: function() { var self = this; -- Gitblit v1.9.1