|
|
@@ -31,12 +31,12 @@ const CreateForm = (props) => { |
|
|
|
</Form.Item> |
|
|
|
<Row> |
|
|
|
<Col span={12}> |
|
|
|
<Form.Item name="code" label="菜单编码" rules={[{ required: true, max: 255 }]}> |
|
|
|
<Form.Item name="code" label="菜单编码" rules={[{ required: true }]}> |
|
|
|
<Input placeholder="请输入菜单编码" /> |
|
|
|
</Form.Item> |
|
|
|
</Col> |
|
|
|
<Col span={12}> |
|
|
|
<Form.Item name="name" label="菜单名称" rules={[{ required: true, max: 255 }]}> |
|
|
|
<Form.Item name="name" label="菜单名称" rules={[{ required: true}]}> |
|
|
|
<Input placeholder="请输入菜单名称" /> |
|
|
|
</Form.Item> |
|
|
|
</Col> |
|
|
|