“yueshang” 2 år sedan
förälder
incheckning
387b4cf80a
1 ändrade filer med 1 tillägg och 15 borttagningar
  1. 1 15
      src/router/index.js

+ 1 - 15
src/router/index.js

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