zb-admin/src/routers/modules/externalLink.ts

47 lines
1.3 KiB
TypeScript
Raw Normal View History

2022-11-03 04:57:30 +00:00
2022-03-31 02:13:27 +00:00
import Layout from "@/layout/index.vue";
2022-09-29 14:04:17 +00:00
const externalLink = [{
2022-03-31 02:13:27 +00:00
path: '/external-link',
component: Layout,
redirect: 'noRedirect',
name: 'external-link',
2022-11-12 14:31:16 +00:00
meta: {
title: '外部链接',
icon: 'link'
},
2022-03-31 02:13:27 +00:00
children: [
{
path: 'wechat',
name: 'wechat',
component: () => import('@/views/externalLinks/wechat/index.vue'),
meta: { title: '加微信群', icon: 'MenuIcon' }
},
2022-03-31 02:13:27 +00:00
{
path: 'https://github.com/zouzhibin/vue-admin-perfect',
2022-11-12 14:31:16 +00:00
name: 'github',
meta: { title: 'Github 地址', icon: 'MenuIcon' }
},
{
path: 'https://gitee.com/yuanzbz/vue-admin-perfect?_from=gitee_search',
name: 'github',
meta: { title: 'Gitee 地址', icon: 'MenuIcon' }
},
2022-11-20 11:53:13 +00:00
{
path: 'http://182.61.5.190:8890/#/login',
name: 'simple',
meta: { title: '简易版本', icon: 'MenuIcon' },
component: () => import('@/views/externalLinks/simple/index.vue'),
},
2022-11-12 14:31:16 +00:00
{
path: 'iframe',
component: () => import('@/views/externalLinks/iframe/index.vue'),
name: 'iframe',
meta: { title: '内嵌 iframe', icon: 'MenuIcon' }
2022-03-31 02:13:27 +00:00
},
]
2022-09-29 14:04:17 +00:00
}]
2022-03-31 02:13:27 +00:00
export default externalLink