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/menu/datasource/verifycard/index.jsx |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/menu/datasource/verifycard/index.jsx b/src/menu/datasource/verifycard/index.jsx
index 8cbd450..66a6a93 100644
--- a/src/menu/datasource/verifycard/index.jsx
+++ b/src/menu/datasource/verifycard/index.jsx
@@ -26,7 +26,6 @@
 
 class VerifyCard extends Component {
   static propTpyes = {
-    dict: PropTypes.object,          // 瀛楀吀椤�
     config: PropTypes.object,        // 缁勪欢閰嶇疆淇℃伅
   }
 
@@ -149,11 +148,11 @@
         dataIndex: 'operation',
         render: (text, record) =>
           (<div style={{textAlign: 'center'}}>
-            <span className="operation-btn" title={this.props.dict['model.edit']} onClick={() => this.handleEdit(record)} style={{color: '#1890ff'}}><EditOutlined /></span>
-            <span className="operation-btn" title={this.props.dict['model.status.change']} onClick={() => this.handleStatus(record)} style={{color: '#8E44AD'}}><SwapOutlined /></span>
+            <span className="operation-btn" title="缂栬緫" onClick={() => this.handleEdit(record)} style={{color: '#1890ff'}}><EditOutlined /></span>
+            <span className="operation-btn" title="鐘舵�佸垏鎹�" onClick={() => this.handleStatus(record)} style={{color: '#8E44AD'}}><SwapOutlined /></span>
             <Popconfirm
               overlayClassName="popover-confirm"
-              title={this.props.dict['model.query.delete']}
+              title="纭畾鍒犻櫎鍚�?"
               onConfirm={() => this.deleteScript(record)
             }>
               <span className="operation-btn" style={{color: '#ff4d4f'}}><DeleteOutlined /></span>
@@ -828,7 +827,6 @@
             </span>
           } key="setting">
             {!reload ? <SettingForm
-              dict={this.props.dict}
               config={config}
               columns={columns}
               setting={setting}
@@ -843,7 +841,7 @@
               <CopyOutlined title="浠ラ�楀彿鎷兼帴褰㈠紡澶嶅埗瀛楁" className="mk-copy-fields" onClick={this.copyColumns}/>
             </span>
           } key="columns">
-            <ColForm dict={this.props.dict} columnChange={this.columnChange}/>
+            <ColForm columnChange={this.columnChange}/>
             <FieldsComponent
               config={{...config, columns}}
               type="fields"
@@ -873,7 +871,6 @@
               searches={searches}
               defaultsql={defaultsql}
               initsql={this.state.initsql}
-              dict={this.props.dict}
               customScripts={scripts}
               systemScripts={this.state.systemScripts}
               scriptsChange={this.scriptsChange}
@@ -920,7 +917,7 @@
                     <span className="operation-btn" onClick={() => this.handleStatus(item)} style={{color: '#8E44AD'}}><SwapOutlined /></span>
                     <Popconfirm
                       overlayClassName="popover-confirm"
-                      title={this.props.dict['model.query.delete']}
+                      title="纭畾鍒犻櫎鍚�?"
                       onConfirm={() => this.deleteScript(item)
                     }>
                       <span className="operation-btn" style={{color: '#ff4d4f'}}><DeleteOutlined /></span>

--
Gitblit v1.8.0