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/columnform/index.jsx | 16 +++++++--------- 1 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/menu/datasource/verifycard/columnform/index.jsx b/src/menu/datasource/verifycard/columnform/index.jsx index b8c3ba5..f977564 100644 --- a/src/menu/datasource/verifycard/columnform/index.jsx +++ b/src/menu/datasource/verifycard/columnform/index.jsx @@ -6,7 +6,6 @@ class UniqueForm extends Component { static propTpyes = { - dict: PropTypes.object, // 瀛楀吀椤� columnChange: PropTypes.func // 淇敼鍑芥暟 } @@ -27,7 +26,6 @@ } render() { - const { dict } = this.props const { getFieldDecorator } = this.props.form const formItemLayout = { labelCol: { @@ -44,26 +42,26 @@ <Form {...formItemLayout} className="verify-form" id="verifycard1"> <Row gutter={24}> <Col span={6}> - <Form.Item label={'鍚嶇О'}> + <Form.Item label="鍚嶇О"> {getFieldDecorator('label', { initialValue: '', rules: [ { required: true, - message: dict['form.required.input'] + '鍚嶇О!' + message: '璇疯緭鍏ュ悕绉�!' } ] })(<Input placeholder="" autoComplete="off" onPressEnter={this.handleConfirm}/>)} </Form.Item> </Col> <Col span={6}> - <Form.Item label={'瀛楁'}> + <Form.Item label="瀛楁"> {getFieldDecorator('field', { initialValue: '', rules: [ { required: true, - message: dict['form.required.input'] + '瀛楁!' + message: '璇疯緭鍏ュ瓧娈�!' }, { pattern: /^[\u4E00-\u9FA50-9a-zA-Z_]*$/ig, @@ -74,13 +72,13 @@ </Form.Item> </Col> <Col span={6}> - <Form.Item label={'鏁版嵁绫诲瀷'}> + <Form.Item label="鏁版嵁绫诲瀷"> {getFieldDecorator('datatype', { initialValue: '', rules: [ { required: true, - message: dict['form.required.select'] + '鏁版嵁绫诲瀷!' + message: '璇烽�夋嫨鏁版嵁绫诲瀷!' } ] })( @@ -122,7 +120,7 @@ </Col> <Col span={3} className="add"> <Button onClick={this.handleConfirm} type="primary" className="mk-green"> - {dict['model.add']} + 娣诲姞 </Button> </Col> </Row> -- Gitblit v1.8.0