Selaa lähdekoodia

fix: 权限判断改为 employeeType

wuwenyi 1 viikko sitten
vanhempi
commit
cf61548947
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/router/index.ts

+ 1 - 1
src/router/index.ts

@@ -54,7 +54,7 @@ const router = createRouter({
           path: 'flow',
           name: 'FlowAnalysis',
           component: () => import('@/views/analysis/index.vue'),
-          meta: { title: '流程分析看板', icon: 'TrendCharts' },
+          meta: { title: '流程分析看板', icon: 'TrendCharts', permissions: ['dept_manager', 'flow_manager', 'super_admin'] },
         },
       ],
     },