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

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

No files matched your search

+11
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',