diff --git a/src/router/index.js b/src/router/index.js index 26f605b..2ed91f8 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -86,36 +86,7 @@ export const asyncRoutes = [ }, ], }, */ - { - path: "/personnelManagement", - component: Layout, - redirect: "noRedirect", - name: "PersonnelManagement", - meta: { title: "配置", icon: "users-cog", permissions: ["admin"] }, - children: [ - { - path: "userManagement", - name: "UserManagement", - component: () => - import("@/views/personnelManagement/userManagement/index"), - meta: { title: "用户管理" }, - }, - { - path: "roleManagement", - name: "RoleManagement", - component: () => - import("@/views/personnelManagement/roleManagement/index"), - meta: { title: "角色管理" }, - }, - { - path: "menuManagement", - name: "MenuManagement", - component: () => - import("@/views/personnelManagement/menuManagement/index"), - meta: { title: "菜单管理", badge: "New" }, - }, - ], - }, + { path: "/vab", component: Layout, @@ -365,6 +336,36 @@ export const asyncRoutes = [ }, ], }, + { + path: "/personnelManagement", + component: Layout, + redirect: "noRedirect", + name: "PersonnelManagement", + meta: { title: "配置", icon: "users-cog", permissions: ["admin"] }, + children: [ + { + path: "userManagement", + name: "UserManagement", + component: () => + import("@/views/personnelManagement/userManagement/index"), + meta: { title: "用户管理" }, + }, + { + path: "roleManagement", + name: "RoleManagement", + component: () => + import("@/views/personnelManagement/roleManagement/index"), + meta: { title: "角色管理" }, + }, + { + path: "menuManagement", + name: "MenuManagement", + component: () => + import("@/views/personnelManagement/menuManagement/index"), + meta: { title: "菜单管理", badge: "New" }, + }, + ], + }, { path: "/mall", component: Layout,