From a8507cc8c42d17d4fb854594dbf1e084d61912ac Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 18 十月 2022 12:44:22 +0800 Subject: [PATCH] 2022-10-18 --- src/templates/sharecomponent/settingcomponent/settingform/index.jsx | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/templates/sharecomponent/settingcomponent/settingform/index.jsx b/src/templates/sharecomponent/settingcomponent/settingform/index.jsx index 3ae2a2c..86caaea 100644 --- a/src/templates/sharecomponent/settingcomponent/settingform/index.jsx +++ b/src/templates/sharecomponent/settingcomponent/settingform/index.jsx @@ -20,7 +20,6 @@ class SettingForm extends Component { static propTpyes = { - dict: PropTypes.object, // 瀛楀吀椤� menu: PropTypes.object, // 鑿滃崟淇℃伅 config: PropTypes.object, // 椤甸潰閰嶇疆淇℃伅 search: PropTypes.array, // 鎼滅储鏉′欢 @@ -496,7 +495,7 @@ } render() { - const { config, menu, dict } = this.props + const { config, menu } = this.props const { loading, activeKey, setting, defaultSql, columns, scripts, status, visible, script, scriptValue } = this.state return ( @@ -506,7 +505,6 @@ <TabPane tab="鏁版嵁婧�" key="setting"> <DataSource menu={menu} - dict={dict} config={config} columns={columns} setting={setting} @@ -533,7 +531,6 @@ this.setState({visible: true, script: null, scriptValue: ''}) }}/> : null} <CustomScript - dict={dict} setting={setting} scripts={scripts} defaultSql={defaultSql} @@ -582,7 +579,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.handleDelete(item) }> <span className="operation-btn" style={{color: '#ff4d4f'}}><DeleteOutlined /></span> -- Gitblit v1.8.0