From aa15f061ba185b05f22c98a0a979c72d08bcd974 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 11 二月 2025 09:42:38 +0800 Subject: [PATCH] 2025-02-11 --- src/templates/sharecomponent/actioncomponent/verifyexcelin/columnform/index.jsx | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/templates/sharecomponent/actioncomponent/verifyexcelin/columnform/index.jsx b/src/templates/sharecomponent/actioncomponent/verifyexcelin/columnform/index.jsx index afb9c56..28f2df9 100644 --- a/src/templates/sharecomponent/actioncomponent/verifyexcelin/columnform/index.jsx +++ b/src/templates/sharecomponent/actioncomponent/verifyexcelin/columnform/index.jsx @@ -45,10 +45,11 @@ values.limit = '' } - this.props.columnChange(values) - this.props.form.setFieldsValue({ - Column: '', - Text: '' + this.props.columnChange(values, () => { + this.props.form.setFieldsValue({ + Column: '', + Text: '' + }) }) } }) @@ -78,6 +79,10 @@ { required: true, message: '璇疯緭鍏ュ瓧娈�!' + }, + { + pattern: /^[\u4E00-\u9FA50-9a-zA-Z_]*$/ig, + message: '鍙厑璁稿寘鍚暟瀛椼�佸瓧姣嶃�佹眽瀛椾互鍙奯' } ] })(<Input placeholder="" autoComplete="off" onPressEnter={this.handleConfirm}/>)} @@ -135,7 +140,7 @@ )} </Form.Item> </Col> - <Col span={6}> + <Col span={6} style={{clear: 'left'}}> <Form.Item style={{marginBottom: 0}} label="瀵煎叆"> {getFieldDecorator('import', { initialValue: 'true' -- Gitblit v1.8.0