Преглед на файлове

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

将原智慧大屏监控中心路由替换为员工画像页面,同步更新菜单显示名称
huoyi преди 3 седмици
родител
ревизия
427b03200b
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/router/index.js

+ 2 - 2
src/router/index.js

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