From 76427d51a079a5fd1f45bf7188249e7a4647ae05 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 14 九月 2020 10:37:25 +0800
Subject: [PATCH] 2020-09-14

---
 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