Browse Source

修改账号组

zhaoke 2 năm trước cách đây
mục cha
commit
fb9258f195
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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: "/",