ソースを参照

[FE] 默认路由修改

chenxr3 4 年 前
コミット
383d94554d
共有1 個のファイルを変更した2 個の追加1 個の削除を含む
  1. 2 1
      security-protection-platform/src/routes.js

+ 2 - 1
security-protection-platform/src/routes.js

14
  {
14
  {
15
    path: '/',
15
    path: '/',
16
    component: Layout,
16
    component: Layout,
17
    redirect: '/attendance/report',
17
    redirect: '/dashboard',
18
    hidden: true
18
    hidden: true
19
  },
19
  },
20
  {
20
  {
21
    name: 'dashboard',
21
    name: 'dashboard',
22
    path: '/dashboard',
22
    path: '/dashboard',
23
    redirect: '/',
23
    component: () => import(/* webpackChunkName: "dashboard" */ './modules/dashboard'),
24
    component: () => import(/* webpackChunkName: "dashboard" */ './modules/dashboard'),
24
    meta: { title: '首页', icon: 'home' },
25
    meta: { title: '首页', icon: 'home' },
25
    children: [
26
    children: [