浏览代码

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

mnisting 6 月之前
父节点
当前提交
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" },
-      },
-    ],
-  },
 ];
 
 // 动态路由,基于用户权限动态去加载