Browse Source

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

mnisting 6 months ago
parent
commit
8338b1936e
1 changed files with 0 additions and 42 deletions
  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" },
-      },
-    ],
-  },
 ];
 
 // 动态路由,基于用户权限动态去加载