zhaoke преди 2 години
родител
ревизия
37d93bd5f6
променени са 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')
             }
           },