Browse Source

添加网关权限

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