feature: [sidebar] add external-link

This commit is contained in:
Pan
2018-08-24 10:42:37 +08:00
parent 85c5d60057
commit 61394e573e
4 changed files with 64 additions and 12 deletions

View File

@@ -130,6 +130,17 @@ export const constantRouterMap = [
]
},
{
path: 'external-link',
component: Layout,
children: [
{
path: 'https://panjiachen.github.io/vue-element-admin-site/#/',
meta: { title: 'externalLink', icon: 'link' }
}
]
},
{ path: '*', redirect: '/404', hidden: true }
]