Skip to content

Login not on #1

@cnqiuxue

Description

@cnqiuxue
/**
 * name 值唯一
 * alwaysShow: true          菜单栏默认显示
 * anonymousAuthorize: true  允许匿名访问
 */
export const constantRouterMap = [
  {
    path: '/redirect',
    component: Layout,
    hide: true,
    children: [
      {
        path: '/redirect/:path*',
        component: () => import('@/views/redirect/index')
      }
    ]
  },
  {
    path: '/login',
    name: 'login',
    hide: true,
    component: () => import('@/views/login/index'),
    meta: { name: 'login', anonymousAuthorize: true }
  },
  {
    path: '/auth-redirect',
    component: () => import('@/views/login/authredirect'),
    meta: { title: 'auth-redirect', anonymousAuthorize: true }
  },
  {
    path: '/404',
    name: '404',
    hide: true,
    component: () => import('@/views/errorPage/404'),
    meta: { title: '404', anonymousAuthorize: true }
  },
  {
    path: '/401',
    name: '401',
    hide: true,
    component: () => import('@/views/errorPage/401'),
    meta: { title: '401', anonymousAuthorize: true }
  },
  {
    path: '',
    component: Layout,
    redirect: 'dashboard',
    children: [
      {
        path: 'dashboard',
        component: () => import('@/views/dashboard/index'),
        name: 'dashboard',
        alwaysShow: true,
        meta: { title: 'dashboard', icon: 'dashboard' }
      }
    ]
  },

  taskRouter,

  modelerRouter,

  idmRouter,

  {
    path: '*',
    redirect: '/404',
    hide: true
  }
]

3F6FD233-4C80-4607-8F9F-BE66D2AAA40B
9BD96EC2-344B-4625-8CA6-AD4250855831
2570FA1E-92B6-457d-A9B2-AB495F1EAD6C

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions