Browse Source

Merge branch 'master' into kitchenmanage

tmp
zhaoy 8 months ago
parent
commit
98d927ff1b
3 changed files with 5 additions and 0 deletions
  1. +1
    -0
      config/routes.js
  2. +1
    -0
      src/pages/sys/menus/components/CreateForm.jsx
  3. +3
    -0
      src/pages/sys/menus/index.jsx

+ 1
- 0
config/routes.js View File

@@ -213,6 +213,7 @@ export default [
// },
],
},
{
name: '场景管理',
icon: 'BankFilled',


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

@@ -11,6 +11,7 @@ const CreateForm = (props) => {
visible={props.modalVisible}
bodyStyle={{ padding: '32px 40px 1px 48px' }}
footer={null}
maskClosable={false}
onCancel={() => {
props.onCancel();
}}


+ 3
- 0
src/pages/sys/menus/index.jsx View File

@@ -73,7 +73,10 @@ const handleUpdate = async (fields) => {
onClick={() => {
InitTree();
handleModalVisible(true);
console.log("record.type",record.type)
if(!Array.isArray(record.type)){
record.type=record.type.split(',');
}
setStepFormValues(record);
}}
>


Loading…
Cancel
Save