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/components/normalform/index.jsx | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/normalform/index.jsx b/src/components/normalform/index.jsx index 5ef4c9d..c587960 100644 --- a/src/components/normalform/index.jsx +++ b/src/components/normalform/index.jsx @@ -3,8 +3,6 @@ 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' class NormalFormComponent extends Component { @@ -17,7 +15,6 @@ } state = { - dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS, visible: false, formlist: [] } @@ -62,7 +59,7 @@ render () { const { title, width, children, double } = this.props - const { visible, dict, formlist } = this.state + const { visible, formlist } = this.state return ( <> @@ -73,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