From d76045be1cd5a030ed68269246d7ae1956a5ff06 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 15 十二月 2021 11:00:26 +0800
Subject: [PATCH] 2021-12-15

---
 src/menu/components/chart/antv-dashboard/chartcompile/index.jsx |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/menu/components/chart/antv-dashboard/chartcompile/index.jsx b/src/menu/components/chart/antv-dashboard/chartcompile/index.jsx
index 3e526c1..09bf509 100644
--- a/src/menu/components/chart/antv-dashboard/chartcompile/index.jsx
+++ b/src/menu/components/chart/antv-dashboard/chartcompile/index.jsx
@@ -283,6 +283,7 @@
   }
 
   render() {
+    const { config } = this.props
     const { visible, plot, colorColumns, view, baseFormlist } = this.state
     const formItemLayout = {
       labelCol: {
@@ -300,7 +301,7 @@
         <EditOutlined title="缂栬緫" onClick={this.showDrawer} />
         <Modal
           wrapClassName="popview-modal menu-chart-edit-modal"
-          title="鍥捐〃缂栬緫"
+          title={config.subtype === 'ratioboard' ? '鍗犳瘮鍥剧紪杈�' : '浠〃鐩樼紪杈�'}
           visible={visible}
           width={850}
           maskClosable={false}

--
Gitblit v1.8.0