From 4e1938344ca46c0cbe699756ecaffa630e698aec Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 06 五月 2020 13:59:54 +0800 Subject: [PATCH] 2020-05-06 --- src/templates/sharecomponent/chartcomponent/index.jsx | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/templates/sharecomponent/chartcomponent/index.jsx b/src/templates/sharecomponent/chartcomponent/index.jsx index c6ed3ee..680ff7c 100644 --- a/src/templates/sharecomponent/chartcomponent/index.jsx +++ b/src/templates/sharecomponent/chartcomponent/index.jsx @@ -443,8 +443,14 @@ return ( <div className="line-chart-edit-box" style={{minHeight: plot.height ? plot.height + 50 : 450}}> <p className="chart-title">{plot.title}</p> - <ChartDrawerForm type={plot.chartType} columns={this.props.config.columns} dict={this.state.dict} plot={plot} plotchange={this.plotChange} /> <div className="canvas" id={plot.uuid}></div> + <ChartDrawerForm + plot={plot} + type={plot.chartType} + config={this.props.config} + dict={this.state.dict} + plotchange={this.plotChange} + /> </div> ) } -- Gitblit v1.8.0