From 1b89aa4493d1c9768447f2f480d594cdb8077fdc Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 26 十月 2020 09:24:19 +0800 Subject: [PATCH] 2020-10-26 --- src/tabviews/custom/components/chart/antv-bar-line/index.jsx | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/tabviews/custom/components/chart/antv-bar-line/index.jsx b/src/tabviews/custom/components/chart/antv-bar-line/index.jsx index 0a7e252..a007a29 100644 --- a/src/tabviews/custom/components/chart/antv-bar-line/index.jsx +++ b/src/tabviews/custom/components/chart/antv-bar-line/index.jsx @@ -109,6 +109,12 @@ _config.plot.height = _config.plot.height - 30 } + if (_config.style) { + _config.style = {..._config.style, minHeight: (config.plot.height || 400)} + } else { + _config.style = {minHeight: (config.plot.height || 400)} + } + this.setState({ config: _config, data: _data, -- Gitblit v1.8.0