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>