Explorar o código

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

将原智慧大屏监控中心路由替换为员工画像页面,同步更新菜单显示名称
huoyi hai 3 semanas
pai
achega
427b03200b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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',