added site list

This commit is contained in:
Marvin Zhang
2019-05-09 22:15:58 +08:00
parent 0ad0303285
commit e822c65eb2
4 changed files with 32 additions and 2 deletions

View File

@@ -183,6 +183,26 @@ export const constantRouterMap = [
}
]
},
{
name: 'Site',
path: '/sites',
component: Layout,
meta: {
title: 'Site',
icon: 'fa fa-sitemap'
},
children: [
{
path: '',
name: 'SiteList',
component: () => import('../views/site/SiteList'),
meta: {
title: 'Sites',
icon: 'fa fa-sitemap'
}
}
]
},
{ path: '*', redirect: '/404', hidden: true }
]