From bcef9a2845e6800704fecb3eb60c204f80854a07 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 24 九月 2020 09:17:24 +0800
Subject: [PATCH] 2020-09-24

---
 src/tabviews/custom/components/chart/antv-bar-line/index.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/custom/components/chart/antv-bar-line/index.jsx b/src/tabviews/custom/components/chart/antv-bar-line/index.jsx
index 6334862..eaa801d 100644
--- a/src/tabviews/custom/components/chart/antv-bar-line/index.jsx
+++ b/src/tabviews/custom/components/chart/antv-bar-line/index.jsx
@@ -102,7 +102,7 @@
     }
 
     let showHeader = false
-    if (config.setting.title || _config.plot.datatype === 'statistics') {
+    if (config.plot.title || _config.plot.datatype === 'statistics') {
       showHeader = true
     }
 
@@ -115,7 +115,7 @@
       arr_field: _config.columns.map(col => col.field).join(','),
       plot: _config.plot,
       sync: _sync,
-      title: config.setting.title,
+      title: config.plot.title,
       search: Utils.initMainSearch(config.search),
       showHeader
     }, () => {

--
Gitblit v1.8.0