浏览代码

Merge branch 'master' of http://120.26.64.82:3000/BFFE/CABaggageData2.0

chenrui  3 年之前
父节点
当前提交
bff1e6ba7a
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/router/routes/routes-file-three.js

+ 2 - 1
src/router/routes/routes-file-three.js

@@ -3,6 +3,7 @@ const integrationRoutes = {
   path: '/',
   component: Layout,
   redirect: "/integration",
+  meta: { roles: ['dataCollect'] },
   children: [
     {
       path: '/integration',
@@ -13,7 +14,7 @@ const integrationRoutes = {
           path: '/integration',
           name: 'integration',
           component: {
-            render(c) {
+            render (c) {
               return c('router-view')
             }
           },