zhaoke 2 anni fa
parent
commit
fb9258f195
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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 = {
   path: "/accountgroup",
   component: Layout,
-  meta: { keepAlive: false },
+  meta: { roles: ["group_menu"], keepAlive: false },
   children: [
     {
       path: "/accountgroup",
@@ -226,7 +226,7 @@ const accountGroupRoutes = {
             },
           },
           redirect: "/",
-          meta: { title: "账号组管理", isPage: "role_page", keepAlive: false, roles: ["role_page"] },
+          meta: { title: "账号组管理", isPage: "role_page", keepAlive: false },
           children: [
             {
               path: "/",