|
1
2
3
4
5
6
7
8
9
10
11
12
|
import type { AppRouteModule } from '/@/router/types';
import { PAGE_LAYOUT_COMPONENT } from '/@/router/constant';
const IFrame = () => import('/@/views/sys/iframe/FrameBlank.vue');
export default {
layout: {
path: '/frame',
name: 'Frame',
component: PAGE_LAYOUT_COMPONENT,
redirect: '/frame/antv',
meta: {
|
nebv
authored
|
13
|
icon: 'mdi:page-next-outline',
|
|
14
15
16
17
18
19
20
21
22
23
24
25
|
title: '外部页面',
},
},
routes: [
{
path: '/antv',
name: 'Antv',
component: IFrame,
meta: {
frameSrc: 'https://2x.antdv.com/docs/vue/introduce-cn/',
title: 'antVue文档(内嵌)',
|
|
26
|
afterCloseLoading: true,
|
|
27
28
29
30
31
32
33
|
},
},
{
path: '/doc',
name: 'Doc',
component: IFrame,
meta: {
|
vben
authored
|
34
|
frameSrc: 'https://vvbin.cn/doc-next/',
|
|
35
|
title: '项目文档(内嵌)',
|
|
36
|
afterCloseLoading: true,
|
|
37
38
39
40
41
42
43
|
},
},
{
path: '/docExternal',
name: 'DocExternal',
component: IFrame,
meta: {
|
vben
authored
|
44
|
externalLink: 'https://vvbin.cn/doc-next/',
|
|
45
46
47
48
49
|
title: '项目文档(外链)',
},
},
],
} as AppRouteModule;
|