|
|
@@ -39,8 +39,8 @@ const CreateForm = (props) => { |
|
|
|
<Form.Item name="id" hidden={true}> |
|
|
|
<Input /> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item name="account" label="用户账户" rules={[{ required: true, max: 255 }]}> |
|
|
|
<Input placeholder="请输入用户账户" disabled={props.values.id?true:false} /> |
|
|
|
<Form.Item name="account" label="登录账户" rules={[{ required: true, max: 255 }]}> |
|
|
|
<Input placeholder="请输入登录账户" disabled={props.values.id?true:false} /> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item name="name" label="用户姓名" rules={[{ required: true, max: 255 }]}> |
|
|
|
<Input placeholder="请输入用户姓名" /> |
|
|
|