From 0c94290767a88c913ed736e65970eafee9e41519 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 22 七月 2020 15:49:16 +0800 Subject: [PATCH] 2020-07-22 --- src/templates/sharecomponent/chartcomponent/chartcompile/index.jsx | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/templates/sharecomponent/chartcomponent/chartcompile/index.jsx b/src/templates/sharecomponent/chartcomponent/chartcompile/index.jsx index 87ead05..1ff3197 100644 --- a/src/templates/sharecomponent/chartcomponent/chartcompile/index.jsx +++ b/src/templates/sharecomponent/chartcomponent/chartcompile/index.jsx @@ -229,6 +229,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