feat(components): Add routing data related to tree components and page display optimization

This commit is contained in:
small_happy
2023-04-02 10:45:51 +08:00
parent d203a3586c
commit a0f55aca69
6 changed files with 57 additions and 10 deletions

View File

@ -32,6 +32,48 @@ const component: AuthRoute.Route = {
requiresAuth: true,
icon: 'mdi:table-large'
}
},
{
name: 'component_tree',
path: '/component/tree',
component: 'multi',
children: [
{
name: 'component_tree_tree-basic',
path: '/component/tree/tree-basic',
component: 'self',
meta: {
title: '基础树',
requiresAuth: true,
icon: 'fluent:tree-deciduous-20-regular'
}
},
{
name: 'component_tree_tree-custom',
path: '/component/tree/tree-custom',
component: 'self',
meta: {
title: '自定义树',
requiresAuth: true,
icon: 'fluent:tree-deciduous-20-filled'
}
},
{
name: 'component_tree_tree-functions',
path: '/component/tree/tree-functions',
component: 'self',
meta: {
title: '函数示例',
requiresAuth: true,
icon: 'fluent:tree-evergreen-20-filled'
}
}
],
meta: {
title: '树',
requiresAuth: true,
icon: 'carbon:tree-view-alt'
}
}
],
meta: {