diff --git a/kicc-ui/src/views/system/menu/menu.data.ts b/kicc-ui/src/views/system/menu/menu.data.ts index 0755f9cc..d5a5554b 100644 --- a/kicc-ui/src/views/system/menu/menu.data.ts +++ b/kicc-ui/src/views/system/menu/menu.data.ts @@ -168,6 +168,7 @@ export const formSchema: FormSchema[] = [ field: 'component', label: '组件路径', component: 'Input', + required: true, colProps: { span: 12 }, @@ -177,6 +178,7 @@ export const formSchema: FormSchema[] = [ field: 'permission', label: '权限标识', component: 'Input', + required: true, colProps: { span: 12 }, @@ -187,7 +189,8 @@ export const formSchema: FormSchema[] = [ label: '显示排序', component: 'InputNumber', componentProps: { - style: { width:'100%' } + style: { width:'100%' }, + min: 0 }, required: true, colProps: {