Browse Source

Merge branch 'master' into kitchenmanage

tmp
zhaoy 11 months ago
parent
commit
35bc36ae45
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      src/pages/sys/menus/components/CreateForm.jsx

+ 7
- 7
src/pages/sys/menus/components/CreateForm.jsx View File

@@ -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} >
取消 取消


Loading…
Cancel
Save