Pārlūkot izejas kodu

refactor(router): 修改首页路由指向的页面和菜单标题

将原智慧大屏监控中心路由替换为员工画像页面,同步更新菜单显示名称
huoyi 3 nedēļas atpakaļ
vecāks
revīzija
427b03200b
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/router/index.js

+ 2 - 2
src/router/index.js

@@ -92,9 +92,9 @@ export const constantRoutes = [
92 92
     children: [
93 93
       {
94 94
         path: '/index',
95
-        component: () => import('@/views/dataBigScreen/dashboard'),
95
+        component: () => import('@/views/portraitManagement/employeeProfile'),
96 96
         name: 'Index',
97
-        meta: { title: '智慧大屏监控中心', icon: 'dashboard' }
97
+        meta: { title: '员工画像', icon: 'dashboard' }
98 98
       },
99 99
       // {
100 100
       //   path: '/dashboard-work',