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/fieldscomponent/index.jsx |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/src/templates/sharecomponent/fieldscomponent/index.jsx b/src/templates/sharecomponent/fieldscomponent/index.jsx
index d69e4c5..53642ec 100644
--- a/src/templates/sharecomponent/fieldscomponent/index.jsx
+++ b/src/templates/sharecomponent/fieldscomponent/index.jsx
@@ -4,8 +4,6 @@
 import { Button, Modal, Empty, notification } from 'antd'
 
 import Utils from '@/utils/utils.js'
-import zhCN from '@/locales/zh-CN/model.js'
-import enUS from '@/locales/en-US/model.js'
 import EditCard from './editcard'
 
 import MKEmitter from '@/utils/events.js'
@@ -19,7 +17,6 @@
   }
 
   state = {
-    dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS,
     appType: sessionStorage.getItem('appType'),
     fields: [],             // 瀛楁闆�
     visible: false,         // 妯℃�佹鎺у埗
@@ -126,7 +123,6 @@
           initval: initval,
           type: item.type,
           resourceType: '0',
-          setAll: 'false',
           options: [],
           orderType: 'asc',
           match: _match,
@@ -189,7 +185,6 @@
           initval: item.type === 'number' ? 0 : '',
           type: item.type,
           resourceType: '0',
-          setAll: 'false',
           span: span,
           labelwidth: 33.3,
           options: [],
@@ -264,19 +259,19 @@
 
   render() {
     const { type } = this.props
-    const { dict, fields } = this.state
+    const { fields } = this.state
 
     return (
       <div className="quickly-add">
-        <Button type="primary" block onClick={this.queryField}>{dict['model.batchAdd']}</Button>
+        <Button type="primary" block onClick={this.queryField}>鎵归噺娣诲姞</Button>
         {/* 鏍规嵁瀛楁鍚嶆坊鍔犳樉绀哄垪鍙婃悳绱㈡潯浠� */}
         <Modal
           wrapClassName="model-table-fieldmanage-modal"
-          title={dict['model.edit']}
+          title="缂栬緫"
           visible={this.state.visible}
           width={'65vw'}
           maskClosable={false}
-          cancelText={dict['model.close']}
+          cancelText="鍏抽棴"
           onOk={this.addFieldSubmit}
           onCancel={() => this.setState({ visible: false })}
           destroyOnClose

--
Gitblit v1.8.0