|
@@ -61,7 +61,7 @@ export const constantRoutes = [
|
|
path: '',
|
|
path: '',
|
|
component: () => import('@/layout/indexCommon.vue'),
|
|
component: () => import('@/layout/indexCommon.vue'),
|
|
redirect: '/index',
|
|
redirect: '/index',
|
|
- hidden: true,
|
|
|
|
|
|
+ hidden:true,
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
path: 'index',
|
|
path: 'index',
|
|
@@ -98,28 +98,14 @@ export const constantRoutes = [
|
|
redirect: '/index',
|
|
redirect: '/index',
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
- path: 'swagger',
|
|
|
|
- component: () => import('@/views/tool/swagger/index.vue'),
|
|
|
|
- name: 'swagger',
|
|
|
|
- meta: { title: '接口', icon: 'dashboard' },
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
path: "/myfile",
|
|
path: "/myfile",
|
|
component: () => import("@/views/myfile/MyFile"),
|
|
component: () => import("@/views/myfile/MyFile"),
|
|
name: "myfile",
|
|
name: "myfile",
|
|
meta: { title: "我的文件", icon: "myfile" }
|
|
meta: { title: "我的文件", icon: "myfile" }
|
|
},
|
|
},
|
|
- {
|
|
|
|
- path: "/department",
|
|
|
|
- component: () => import("@/views/department/Department"),
|
|
|
|
- name: "department",
|
|
|
|
- meta: { title: "部门文件", icon: "department" }
|
|
|
|
- }
|
|
|
|
]
|
|
]
|
|
},
|
|
},
|
|
|
|
|
|
-
|
|
|
|
{
|
|
{
|
|
path: '/user',
|
|
path: '/user',
|
|
component: Layout,
|
|
component: Layout,
|