refactor: ♻️ 通知公告、字典重构
This commit is contained in:
@@ -58,60 +58,14 @@ export const constantRoutes: RouteRecordRaw[] = [
|
||||
component: () => import("@/views/profile/index.vue"),
|
||||
meta: { title: "个人中心", icon: "user", hidden: true },
|
||||
},
|
||||
{
|
||||
path: "myNotice",
|
||||
name: "MyNotice",
|
||||
component: () => import("@/views/system/notice/my-notice.vue"),
|
||||
meta: { title: "我的通知", icon: "user", hidden: true },
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
// 外部链接
|
||||
// {
|
||||
// path: "/external-link",
|
||||
// component: Layout,
|
||||
// children: [ {
|
||||
// component: () => import("@/views/external-link/index.vue"),
|
||||
// path: "https://www.cnblogs.com/haoxianrui/",
|
||||
// meta: { title: "外部链接", icon: "link" },
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
// 多级嵌套路由
|
||||
/* {
|
||||
path: '/nested',
|
||||
component: Layout,
|
||||
redirect: '/nested/level1/level2',
|
||||
name: 'Nested',
|
||||
meta: {title: '多级菜单', icon: 'nested'},
|
||||
children: [
|
||||
{
|
||||
path: 'level1',
|
||||
component: () => import('@/views/nested/level1/index.vue'),
|
||||
name: 'Level1',
|
||||
meta: {title: '菜单一级'},
|
||||
redirect: '/nested/level1/level2',
|
||||
children: [
|
||||
{
|
||||
path: 'level2',
|
||||
component: () => import('@/views/nested/level1/level2/index.vue'),
|
||||
name: 'Level2',
|
||||
meta: {title: '菜单二级'},
|
||||
redirect: '/nested/level1/level2/level3',
|
||||
children: [
|
||||
{
|
||||
path: 'level3-1',
|
||||
component: () => import('@/views/nested/level1/level2/level3/index1.vue'),
|
||||
name: 'Level3-1',
|
||||
meta: {title: '菜单三级-1'}
|
||||
},
|
||||
{
|
||||
path: 'level3-2',
|
||||
component: () => import('@/views/nested/level1/level2/level3/index2.vue'),
|
||||
name: 'Level3-2',
|
||||
meta: {title: '菜单三级-2'}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
]
|
||||
}*/
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user