#
luxiaotao1123
2024-02-25 8304b70d5904db817e0022b41fd0e1b7d65b6387
#
1个文件已修改
31 ■■■■ 已修改文件
zy-asrs-flow/config/routes.ts 31 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/config/routes.ts
@@ -12,6 +12,10 @@
 */
export default [
  {
    path: '/',
    redirect: '/system/user',
  },
  {
    path: '/user',
    layout: false,
    routes: [
@@ -27,33 +31,6 @@
    name: 'welcome',
    icon: 'smile',
    component: './Welcome',
  },
  {
    path: '/admin',
    name: 'admin',
    icon: 'crown',
    access: 'canAdmin',
    routes: [
      {
        path: '/admin',
        redirect: '/admin/sub-page',
      },
      {
        path: '/admin/sub-page',
        name: 'sub-page',
        component: './Admin',
      },
    ],
  },
  {
    name: 'list.table-list',
    icon: 'table',
    path: '/list',
    component: './TableList',
  },
  {
    path: '/',
    redirect: '/welcome',
  },
  {
    path: '*',