Browse Source

添加网关权限

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

+ 1 - 1
src/router/routes/routes-file-six.js

@@ -3,7 +3,7 @@ import Layout from '@/layout'
 const gatewayRoutes = {
   path: '/gateway',
   component: Layout,
-  meta: { title: 'API网关' },
+  meta: { title: 'API网关', roles: ['gateway'] },
   children: [{
     path: '/gateway',
     name: 'Gateway',