Commit 216c4a93 authored by 郭志伟's avatar 郭志伟

Merge branch 'feat/length' into 'master'

feat: 修改线上备注输入长度

See merge request !27
parents ec0f6838 3d9a1eea
...@@ -3,6 +3,7 @@ import { Modal, Form, Select, Input, notification } from 'antd'; ...@@ -3,6 +3,7 @@ import { Modal, Form, Select, Input, notification } from 'antd';
import _ from 'lodash'; import _ from 'lodash';
import { addrQuery, update } from './services'; import { addrQuery, update } from './services';
const { TextArea } = Input;
const FormItem = Form.Item; const FormItem = Form.Item;
const { Option } = Select; const { Option } = Select;
const layout = { const layout = {
...@@ -244,12 +245,12 @@ const AddressForm = props => { ...@@ -244,12 +245,12 @@ const AddressForm = props => {
message: '请输入联系人电话!', message: '请输入联系人电话!',
}, },
], ],
})(<Input placeholder="请输入联系人电" />)} })(<Input placeholder="请输入联系人电" />)}
</FormItem> </FormItem>
<FormItem label="备注"> <FormItem label="备注">
{getFieldDecorator('remark', { {getFieldDecorator('remark', {
initialValue: formData.remark, initialValue: formData.remark,
})(<Input placeholder="请输入备注" />)} })(<TextArea placeholder="请输入备注,仅限120字以内。" maxLength={120} />)}
</FormItem> </FormItem>
</Form> </Form>
</Modal> </Modal>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment