| | |
| | | values.limit = '' |
| | | } |
| | | |
| | | this.props.columnChange(values) |
| | | this.props.form.setFieldsValue({ |
| | | Column: '', |
| | | Text: '' |
| | | this.props.columnChange(values, () => { |
| | | this.props.form.setFieldsValue({ |
| | | Column: '', |
| | | Text: '' |
| | | }) |
| | | }) |
| | | } |
| | | }) |
| | |
| | | { |
| | | required: true, |
| | | message: '请输入字段!' |
| | | }, |
| | | { |
| | | pattern: /^[\u4E00-\u9FA50-9a-zA-Z_]*$/ig, |
| | | message: '只允许包含数字、字母、汉字以及_' |
| | | } |
| | | ] |
| | | })(<Input placeholder="" autoComplete="off" onPressEnter={this.handleConfirm}/>)} |
| | |
| | | )} |
| | | </Form.Item> |
| | | </Col> |
| | | <Col span={6}> |
| | | <Col span={6} style={{clear: 'left'}}> |
| | | <Form.Item style={{marginBottom: 0}} label="导入"> |
| | | {getFieldDecorator('import', { |
| | | initialValue: 'true' |