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/settingcalcomponent/index.jsx |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/templates/sharecomponent/settingcalcomponent/index.jsx b/src/templates/sharecomponent/settingcalcomponent/index.jsx
index 1d9addf..646acee 100644
--- a/src/templates/sharecomponent/settingcalcomponent/index.jsx
+++ b/src/templates/sharecomponent/settingcalcomponent/index.jsx
@@ -4,8 +4,6 @@
 import { Modal } from 'antd'
 import { SettingOutlined } from '@ant-design/icons'
 
-import zhCN from '@/locales/zh-CN/model.js'
-import enUS from '@/locales/en-US/model.js'
 import VerifyCard from './verifycard'
 import MKEmitter from '@/utils/events.js'
 import './index.scss'
@@ -18,7 +16,6 @@
   }
 
   state = {
-    dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS,
     sourcelist: [],
     visible: false,
     loading: false,
@@ -77,7 +74,7 @@
 
   render () {
     const { config } = this.props
-    const { visible, dict, loading } = this.state
+    const { visible, loading } = this.state
 
     return (
       <div className="model-datasource">
@@ -87,14 +84,13 @@
           visible={visible}
           width={'75vw'}
           maskClosable={false}
-          okText={dict['model.submit']}
+          okText="鎻愪氦"
           onOk={this.verifySubmit}
           confirmLoading={loading}
           onCancel={() => { MKEmitter.emit('modalStatus', false); this.setState({ visible: false }) }}
           destroyOnClose
         >
           <VerifyCard
-            dict={dict}
             config={config}
             menuId={this.props.config.uuid}
             searches={config.search}

--
Gitblit v1.8.0