布局框架搭建

This commit is contained in:
2026-01-16 11:19:54 +08:00
parent f33bf735d9
commit 08f97d1a21
10 changed files with 1573 additions and 70 deletions

View File

@@ -5,13 +5,51 @@
const userRoutes = [
{
path: '/home',
name: 'home',
name: 'Home',
component: 'home',
meta: {
title: 'dashboard',
icon: 'DashboardOutlined',
role: ['admin']
title: '首页',
icon: 'HomeOutlined',
affix: true,
noCache: false
}
},
{
path: '/system',
name: 'System',
meta: {
title: '系统管理',
icon: 'SettingOutlined'
},
children: [
{
path: '/system/user',
name: 'SystemUser',
component: 'system/user',
meta: {
title: '用户管理',
icon: 'UserOutlined'
}
},
{
path: '/system/role',
name: 'SystemRole',
component: 'system/role',
meta: {
title: '角色管理',
icon: 'TeamOutlined'
}
},
{
path: '/system/menu',
name: 'SystemMenu',
component: 'system/menu',
meta: {
title: '菜单管理',
icon: 'MenuOutlined'
}
}
]
}
]