feature: [sidebar] add external-link (#991)

This commit is contained in:
花裤衩
2018-08-24 10:06:09 +08:00
committed by GitHub
parent 0e75dcc42a
commit 00d292f67e
6 changed files with 68 additions and 15 deletions

View File

@@ -322,5 +322,16 @@ export const asyncRouterMap = [
]
},
{
path: 'external-link',
component: Layout,
children: [
{
path: 'https://github.com/PanJiaChen/vue-element-admin',
meta: { title: 'externalLink', icon: 'link' }
}
]
},
{ path: '*', redirect: '/404', hidden: true }
]