Просмотр исходного кода

feat:删除招聘,留言和新闻的静态路由,改为动态路由

mnisting 6 месяцев назад
Родитель
Сommit
8338b1936e
1 измененных файлов с 0 добавлено и 42 удалено
  1. 0 42
      src/router/index.js

+ 0 - 42
src/router/index.js

@@ -88,48 +88,6 @@ export const constantRoutes = [
       },
     ],
   },
-  {
-    path: "/job",
-    component: Layout,
-    redirect: "noredirect",
-    children: [
-      {
-        path: "recruitInfoManage",
-        alwaysShow: true,
-        component: () => import("@/views/recruitInfoManage/index"),
-        name: "RecruitInfoManage",
-        meta: { title: "招聘信息管理", icon: "dashboard" },
-      },
-    ],
-  },
-  {
-    path: "/news",
-    component: Layout,
-    redirect: "noredirect",
-    children: [
-      {
-        path: "newsManage",
-        alwaysShow: true,
-        component: () => import("@/views/newsManage/index"),
-        name: "NewsManage",
-        meta: { title: "新闻资讯管理", icon: "dashboard" },
-      },
-    ],
-  },
-  {
-    path: "/users",
-    component: Layout,
-    redirect: "noredirect",
-    children: [
-      {
-        path: "userDemandManage",
-        alwaysShow: true,
-        component: () => import("@/views/userDemandManage/index"),
-        name: "UserDemandManage",
-        meta: { title: "用户留言管理", icon: "dashboard" },
-      },
-    ],
-  },
 ];
 
 // 动态路由,基于用户权限动态去加载