From e543372cc70a19ff2630c79d8421c2c593e54e5f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 02 六月 2021 17:15:21 +0800 Subject: [PATCH] 2021-06-02 --- src/templates/sharecomponent/chartcomponent/chartcompile/index.jsx | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/templates/sharecomponent/chartcomponent/chartcompile/index.jsx b/src/templates/sharecomponent/chartcomponent/chartcompile/index.jsx index 87ead05..234bc0c 100644 --- a/src/templates/sharecomponent/chartcomponent/chartcompile/index.jsx +++ b/src/templates/sharecomponent/chartcomponent/chartcompile/index.jsx @@ -77,6 +77,11 @@ } }) + if (plot.correction) { + delete plot.correction // 鏁版嵁淇锛堝凡寮冪敤锛� + plot.barSize = 35 + } + this.setState({ visible: true, view: 'normal', @@ -229,6 +234,8 @@ const { plot, fieldName, enabled, colorOptions, shapeOptions } = this.state const fields = [] + if (!plot.customs) return null + fields.push(<Col span={12} key="enabled"> <Form.Item label="鏄惁鍚敤" style={{marginBottom: 10}}> {getFieldDecorator('enabled', { -- Gitblit v1.8.0