mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-29 18:00:51 +01:00
added user management
This commit is contained in:
@@ -156,37 +156,6 @@ export const constantRouterMap = [
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Deploy',
|
||||
path: '/deploys',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
meta: {
|
||||
title: 'Deploy',
|
||||
icon: 'fa fa-cloud'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
name: 'DeployList',
|
||||
component: () => import('../views/deploy/DeployList'),
|
||||
meta: {
|
||||
title: 'Deploys',
|
||||
icon: 'fa fa-cloud'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: ':id',
|
||||
name: 'DeployDetail',
|
||||
component: () => import('../views/deploy/DeployDetail'),
|
||||
meta: {
|
||||
title: 'Deploy Detail',
|
||||
icon: 'fa fa-circle-o'
|
||||
},
|
||||
hidden: true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Site',
|
||||
path: '/sites',
|
||||
@@ -207,6 +176,26 @@ export const constantRouterMap = [
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'User',
|
||||
path: '/users',
|
||||
component: Layout,
|
||||
meta: {
|
||||
title: 'User',
|
||||
icon: 'fa fa-user'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
name: 'UserList',
|
||||
component: () => import('../views/user/UserList'),
|
||||
meta: {
|
||||
title: 'Users',
|
||||
icon: 'fa fa-user'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{ path: '*', redirect: '/404', hidden: true }
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user