Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login not on #1

Open
cnqiuxue opened this issue Mar 19, 2019 · 2 comments
Open

Login not on #1

cnqiuxue opened this issue Mar 19, 2019 · 2 comments

Comments

@cnqiuxue
Copy link

cnqiuxue commented Mar 19, 2019

/**
 * 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

@zongyan86
Copy link

登录不了 !!!!!!

@hcxiaoliu
Copy link

这样弄了也登录不了啊,点登录反应都没用博主是怎么弄的呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants