Browse Source

修改账号组

zhaoke 2 years ago
parent
commit
fb9258f195
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/router/routes/routes-file-four.js

+ 2 - 2
src/router/routes/routes-file-four.js

@@ -204,7 +204,7 @@ const accountRoutes = {
 const accountGroupRoutes = {
 const accountGroupRoutes = {
   path: "/accountgroup",
   path: "/accountgroup",
   component: Layout,
   component: Layout,
-  meta: { keepAlive: false },
+  meta: { roles: ["group_menu"], keepAlive: false },
   children: [
   children: [
     {
     {
       path: "/accountgroup",
       path: "/accountgroup",
@@ -226,7 +226,7 @@ const accountGroupRoutes = {
             },
             },
           },
           },
           redirect: "/",
           redirect: "/",
-          meta: { title: "账号组管理", isPage: "role_page", keepAlive: false, roles: ["role_page"] },
+          meta: { title: "账号组管理", isPage: "role_page", keepAlive: false },
           children: [
           children: [
             {
             {
               path: "/",
               path: "/",