国内标准页面开发

This commit is contained in:
宋伟佳
2021-05-25 13:56:31 +08:00
parent 336b73ea61
commit 9b782e0e1b
14 changed files with 64 additions and 1819 deletions
+12 -12
View File
@@ -37,17 +37,17 @@ export const constantRoutes = [
]
export const asyncRoutes = [
// {
// path: '/',
// component: Home,
// meta: {
// title: '首页',
// icon: 'home',
// affix: true,
// },
// },
{
path: '/',
component: Home,
meta: {
title: '首页',
icon: 'home',
affix: true,
},
},
{
path: '/index',
component: Layout,
redirect: 'index',
children: [
@@ -302,21 +302,21 @@ export const asyncRoutes = [
name: 'UserManagement',
component: () =>
import('@/views/personnelManagement/userManagement/index'),
meta: { title: '用户管理' },
meta: { title: '动态&资料' },
},
{
path: 'roleManagement',
name: 'RoleManagement',
component: () =>
import('@/views/personnelManagement/roleManagement/index'),
meta: { title: '角色管理' },
meta: { title: '国内标准法规' },
},
{
path: 'menuManagement',
name: 'MenuManagement',
component: () =>
import('@/views/personnelManagement/menuManagement/index'),
meta: { title: '菜单管理', badge: 'New' },
meta: { title: '海外标准法规', badge: 'New' },
},
],
},