Skip to content

Commit 2fbc450

Browse files
committed
chore: update readme.md
1 parent a207caf commit 2fbc450

File tree

7 files changed

+86
-68
lines changed

7 files changed

+86
-68
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
## 文档
6363

64-
2.0 文档很快完成,请耐心等待。
64+
[文档地址,持续更新中。。,](https://vvbin.cn/doc-next/)
6565

6666
## 预安装
6767

src/router/menus/modules/demo/charts.ts

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -27,28 +27,6 @@ const menu: MenuModule = {
2727
},
2828
],
2929
},
30-
// {
31-
// path: '/excel',
32-
// name: 'excel',
33-
// children: [
34-
{
35-
path: '/customExport',
36-
name: '选择导出格式',
37-
},
38-
{
39-
path: '/jsonExport',
40-
name: 'JSON数据导出',
41-
},
42-
{
43-
path: '/arrayExport',
44-
name: 'Array数据导出',
45-
},
46-
{
47-
path: '/importExcel',
48-
name: '导入',
49-
},
50-
// ],
51-
// },
5230
],
5331
},
5432
};
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import type { MenuModule } from '/@/router/types.d';
2+
const menu: MenuModule = {
3+
orderNo: 500,
4+
menu: {
5+
name: 'Excel',
6+
path: '/excel',
7+
children: [
8+
{
9+
path: '/customExport',
10+
name: '选择导出格式',
11+
},
12+
{
13+
path: '/jsonExport',
14+
name: 'JSON数据导出',
15+
},
16+
{
17+
path: '/arrayExport',
18+
name: 'Array数据导出',
19+
},
20+
{
21+
path: '/importExcel',
22+
name: '导入',
23+
},
24+
// ],
25+
// },
26+
],
27+
},
28+
};
29+
export default menu;

src/router/routes/modules/demo/charts.ts

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -56,47 +56,5 @@ export default {
5656
},
5757
component: () => import('/@/views/demo/echarts/apex/index.vue'),
5858
},
59-
// {
60-
// path: '/excel',
61-
// name: 'ExcelDemo',
62-
// redirect: '/charts/excel/export',
63-
// meta: {
64-
// title: 'excel',
65-
// },
66-
// children: [
67-
{
68-
path: '/customExport',
69-
name: 'CustomExport',
70-
component: () => import('/@/views/demo/echarts/excel/CustomExport.vue'),
71-
meta: {
72-
title: '选择导出格式',
73-
},
74-
},
75-
{
76-
path: '/jsonExport',
77-
name: 'JsonExport',
78-
component: () => import('/@/views/demo/echarts/excel/JsonExport.vue'),
79-
meta: {
80-
title: 'JSON数据导出',
81-
},
82-
},
83-
{
84-
path: '/arrayExport',
85-
name: 'ArrayExport',
86-
component: () => import('/@/views/demo/echarts/excel/ArrayExport.vue'),
87-
meta: {
88-
title: 'Array数据导出',
89-
},
90-
},
91-
{
92-
path: '/importExcel',
93-
name: 'ImportExcel',
94-
component: () => import('/@/views/demo/echarts/excel/ImportExcel.vue'),
95-
meta: {
96-
title: '导入',
97-
},
98-
},
99-
// ],
100-
// },
10159
],
10260
} as AppRouteModule;
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
import type { AppRouteModule } from '/@/router/types';
2+
3+
import { PAGE_LAYOUT_COMPONENT } from '/@/router/constant';
4+
5+
export default {
6+
layout: {
7+
path: '/excel',
8+
name: 'Excel',
9+
component: PAGE_LAYOUT_COMPONENT,
10+
redirect: '/excel/customExport',
11+
meta: {
12+
icon: 'ant-design:area-chart-outlined',
13+
title: 'Excel',
14+
},
15+
},
16+
17+
routes: [
18+
{
19+
path: '/customExport',
20+
name: 'CustomExport',
21+
component: () => import('/@/views/demo/echarts/excel/CustomExport.vue'),
22+
meta: {
23+
title: '选择导出格式',
24+
},
25+
},
26+
{
27+
path: '/jsonExport',
28+
name: 'JsonExport',
29+
component: () => import('/@/views/demo/echarts/excel/JsonExport.vue'),
30+
meta: {
31+
title: 'JSON数据导出',
32+
},
33+
},
34+
{
35+
path: '/arrayExport',
36+
name: 'ArrayExport',
37+
component: () => import('/@/views/demo/echarts/excel/ArrayExport.vue'),
38+
meta: {
39+
title: 'Array数据导出',
40+
},
41+
},
42+
{
43+
path: '/importExcel',
44+
name: 'ImportExcel',
45+
component: () => import('/@/views/demo/echarts/excel/ImportExcel.vue'),
46+
meta: {
47+
title: '导入',
48+
},
49+
},
50+
// ],
51+
// },
52+
],
53+
} as AppRouteModule;

src/router/routes/modules/demo/iframe.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default {
3131
name: 'Doc',
3232
component: IFrame,
3333
meta: {
34-
frameSrc: 'https://vvbin.cn/docs/',
34+
frameSrc: 'https://vvbin.cn/doc-next/',
3535
title: '项目文档(内嵌)',
3636
afterCloseLoading: true,
3737
},
@@ -41,7 +41,7 @@ export default {
4141
name: 'DocExternal',
4242
component: IFrame,
4343
meta: {
44-
externalLink: 'https://vvbin.cn/docs/',
44+
externalLink: 'https://vvbin.cn/doc-next/',
4545
title: '项目文档(外链)',
4646
},
4747
},

src/settings/siteSetting.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// github repo url
22
export const GITHUB_URL = 'https://github.com/anncwb/vue-vben-admin';
33
// vue-vben-admin-next-doc
4-
export const DOC_URL = '';
4+
export const DOC_URL = 'https://vvbin.cn/doc-next/';

0 commit comments

Comments
 (0)