Commit 80273b9cc8b9b9499c71f0d2c1a6442fcffa9ea4

Authored by fengtao
1 parent ca632d9f

pref:菜单管理 新增权限标识

@@ -129,9 +129,6 @@ export const formSchema: FormSchema[] = [ @@ -129,9 +129,6 @@ export const formSchema: FormSchema[] = [
129 { label: t('routes.common.system.menuEditPagesMenu'), value: '1' }, //菜单 129 { label: t('routes.common.system.menuEditPagesMenu'), value: '1' }, //菜单
130 { label: t('routes.common.system.menuEditPagesButton'), value: '2' }, //按钮 130 { label: t('routes.common.system.menuEditPagesButton'), value: '2' }, //按钮
131 ], 131 ],
132 - onChange: (e) => {  
133 - console.log('--------11111---------------', e);  
134 - },  
135 }, 132 },
136 colProps: { lg: 24, md: 24 }, 133 colProps: { lg: 24, md: 24 },
137 }, 134 },
@@ -187,6 +184,15 @@ export const formSchema: FormSchema[] = [ @@ -187,6 +184,15 @@ export const formSchema: FormSchema[] = [
187 }, 184 },
188 }, 185 },
189 { 186 {
  187 + field: 'permission',
  188 + label: '权限标识', //路由地址
  189 + component: 'Input',
  190 + required: true,
  191 + componentProps: {
  192 + maxLength: 255,
  193 + },
  194 + },
  195 + {
190 field: 'component', 196 field: 'component',
191 label: t('routes.common.system.menuEditPagesComponentsPath'), //组件路径 197 label: t('routes.common.system.menuEditPagesComponentsPath'), //组件路径
192 component: 'Input', 198 component: 'Input',