|
@@ -84,12 +84,12 @@ const CreateForm = (props) => { |
|
|
</Row> |
|
|
</Row> |
|
|
</Col> |
|
|
</Col> |
|
|
</Row> |
|
|
</Row> |
|
|
{/* <Row> |
|
|
|
|
|
|
|
|
<Row> |
|
|
<Col span={12}> |
|
|
<Col span={12}> |
|
|
<Form.Item |
|
|
<Form.Item |
|
|
defaultValue={props.values.type} |
|
|
|
|
|
name="type" |
|
|
|
|
|
label="菜单层级" |
|
|
|
|
|
|
|
|
defaultValue={props.values.isAdmin} |
|
|
|
|
|
name="isAdmin" |
|
|
|
|
|
label="超管菜单" |
|
|
rules={[{ required: true }]} |
|
|
rules={[{ required: true }]} |
|
|
> |
|
|
> |
|
|
<ProFormRadio.Group |
|
|
<ProFormRadio.Group |
|
@@ -99,11 +99,11 @@ const CreateForm = (props) => { |
|
|
}} |
|
|
}} |
|
|
options={[ |
|
|
options={[ |
|
|
{ |
|
|
{ |
|
|
label: '按钮', |
|
|
|
|
|
|
|
|
label: '否', |
|
|
value: 0, |
|
|
value: 0, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '菜单', |
|
|
|
|
|
|
|
|
label: '是', |
|
|
value: 1, |
|
|
value: 1, |
|
|
}, |
|
|
}, |
|
|
]} |
|
|
]} |
|
@@ -121,7 +121,7 @@ const CreateForm = (props) => { |
|
|
</Form.Item> |
|
|
</Form.Item> |
|
|
)} |
|
|
)} |
|
|
</Col> |
|
|
</Col> |
|
|
</Row> */} |
|
|
|
|
|
|
|
|
</Row> |
|
|
<Form.Item> |
|
|
<Form.Item> |
|
|
<Button htmlType="button" style={{float:'right',left:10}} onClick={props.onCancel} > |
|
|
<Button htmlType="button" style={{float:'right',left:10}} onClick={props.onCancel} > |
|
|
取消 |
|
|
取消 |
|
|