From da34633b25d16359cd91a656acad5e811f9972b7 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 14 三月 2023 18:09:54 +0800
Subject: [PATCH] 2023-03-14

---
 src/components/normalform/index.jsx |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/components/normalform/index.jsx b/src/components/normalform/index.jsx
index de675fb..c587960 100644
--- a/src/components/normalform/index.jsx
+++ b/src/components/normalform/index.jsx
@@ -3,10 +3,7 @@
 import { is, fromJS } from 'immutable'
 import { Modal } from 'antd'
 
-import zhCN from '@/locales/zh-CN/model.js'
-import enUS from '@/locales/en-US/model.js'
 import ModalForm from './modalform'
-import './index.scss'
 
 class NormalFormComponent extends Component {
   static propTpyes = {
@@ -18,7 +15,6 @@
   }
 
   state = {
-    dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS,
     visible: false,
     formlist: []
   }
@@ -63,7 +59,7 @@
 
   render () {
     const { title, width, children, double } = this.props
-    const { visible, dict, formlist } = this.state
+    const { visible, formlist } = this.state
 
     return (
       <>
@@ -74,7 +70,7 @@
           visible={visible}
           width={width}
           maskClosable={false}
-          okText={dict['model.confirm']}
+          okText="纭畾"
           onOk={this.submit}
           onCancel={this.cancel}
           destroyOnClose

--
Gitblit v1.8.0