feat(Menu.vue): 菜单路由添加外链支持

This commit is contained in:
郝先瑞
2022-02-18 00:05:43 +08:00
parent 29dbc48589
commit 4f29e83215
3 changed files with 30 additions and 7 deletions

View File

@@ -44,6 +44,17 @@ export const constantRoutes: Array<RouteRecordRaw> = [
}
]
},
// 外部链接
/*{
path: '/external-link',
component: Layout,
children: [
{
path: 'https://www.cnblogs.com/haoxianrui/',
meta: { title: '外部链接', icon: 'link' }
}
]
}*/
// 多级嵌套路由
/* {
path: '/nested',