update router/index.js
This commit is contained in:
@@ -38,11 +38,11 @@ export const constantRoutes = [
|
||||
component: () => import('@/views/login'),
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: '/register',
|
||||
component: () => import('@/views/register'),
|
||||
hidden: true
|
||||
},
|
||||
// {
|
||||
// path: '/register',
|
||||
// component: () => import('@/views/register'),
|
||||
// hidden: true
|
||||
// },
|
||||
{
|
||||
path: "/:pathMatch(.*)*",
|
||||
component: () => import('@/views/error/404'),
|
||||
|
||||
Reference in New Issue
Block a user