60 lines
1.1 KiB
TypeScript
60 lines
1.1 KiB
TypeScript
import type { MenuModule } from '/@/router/types.d';
|
|
const menu: MenuModule = {
|
|
orderNo: 40,
|
|
menu: {
|
|
path: '/form',
|
|
name: 'Form',
|
|
tag: {
|
|
type: 'warn',
|
|
dot: true,
|
|
},
|
|
children: [
|
|
{
|
|
path: 'basic',
|
|
name: '基础表单',
|
|
tag: {
|
|
type: 'warn',
|
|
content: 'updated',
|
|
},
|
|
},
|
|
{
|
|
path: 'useForm',
|
|
name: 'useForm',
|
|
},
|
|
{
|
|
path: 'refForm',
|
|
name: 'RefForm',
|
|
},
|
|
{
|
|
path: 'advancedForm',
|
|
name: '可收缩表单',
|
|
},
|
|
{
|
|
path: 'ruleForm',
|
|
name: '表单校验',
|
|
tag: {
|
|
type: 'warn',
|
|
content: 'updated',
|
|
},
|
|
},
|
|
{
|
|
path: 'dynamicForm',
|
|
name: '动态表单',
|
|
tag: {
|
|
type: 'warn',
|
|
content: 'updated',
|
|
},
|
|
},
|
|
{
|
|
path: 'customerForm',
|
|
name: '自定义组件',
|
|
tag: {
|
|
type: 'warn',
|
|
content: 'updated',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
};
|
|
export default menu;
|