Procházet zdrojové kódy

fix: 权限判断改为 employeeType

wuwenyi před 1 týdnem
rodič
revize
cf61548947
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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'] },
         },
       ],
     },