From 69db12287a007990de956bef9cef6c2dec65ace7 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 07 五月 2020 09:18:40 +0800
Subject: [PATCH] 2020-05-07

---
 src/templates/sharecomponent/chartcomponent/index.jsx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/templates/sharecomponent/chartcomponent/index.jsx b/src/templates/sharecomponent/chartcomponent/index.jsx
index 680ff7c..e928d24 100644
--- a/src/templates/sharecomponent/chartcomponent/index.jsx
+++ b/src/templates/sharecomponent/chartcomponent/index.jsx
@@ -6,7 +6,7 @@
 
 import zhCN from '@/locales/zh-CN/model.js'
 import enUS from '@/locales/en-US/model.js'
-import ChartDrawerForm from './chartcompile'
+import ChartCompileForm from './chartcompile'
 import './index.scss'
 
 class LineChart extends Component {
@@ -442,9 +442,9 @@
 
     return (
       <div className="line-chart-edit-box" style={{minHeight: plot.height ? plot.height + 50 : 450}}>
-        <p className="chart-title">{plot.title}</p>
+        {plot.title ? <p className="chart-title">{plot.title}</p> : null}
         <div className="canvas" id={plot.uuid}></div>
-        <ChartDrawerForm
+        <ChartCompileForm
           plot={plot}
           type={plot.chartType}
           config={this.props.config}

--
Gitblit v1.8.0