From e8edfdadb561cd83bf6e1c3e00d55b8cc2aee6d5 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 17 十月 2022 17:57:34 +0800
Subject: [PATCH] 2022-10-17

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

diff --git a/src/templates/sharecomponent/chartcomponent/index.jsx b/src/templates/sharecomponent/chartcomponent/index.jsx
index 8c356fb..f2a0771 100644
--- a/src/templates/sharecomponent/chartcomponent/index.jsx
+++ b/src/templates/sharecomponent/chartcomponent/index.jsx
@@ -4,8 +4,6 @@
 import { Chart } from '@antv/g2'
 import DataSet from '@antv/data-set'
 
-import zhCN from '@/locales/zh-CN/model.js'
-import enUS from '@/locales/en-US/model.js'
 import ChartCompileForm from './chartcompile'
 import './index.scss'
 
@@ -17,7 +15,6 @@
   }
 
   state = {
-    dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS,
     visible: true
   }
 
@@ -618,7 +615,6 @@
           plot={plot}
           type={plot.chartType}
           config={this.props.config}
-          dict={this.state.dict}
           plotchange={this.plotChange}
         />
       </div>

--
Gitblit v1.8.0