Commit 2fbc45041410909d7881e88581ab1e3a08029f4d

Authored by vben
1 parent a207cafe

chore: update readme.md

README.md
@@ -61,7 +61,7 @@ @@ -61,7 +61,7 @@
61 61
62 ## 文档 62 ## 文档
63 63
64 -2.0 文档很快完成,请耐心等待。 64 +[文档地址,持续更新中。。,](https://vvbin.cn/doc-next/)
65 65
66 ## 预安装 66 ## 预安装
67 67
src/router/menus/modules/demo/charts.ts
@@ -27,28 +27,6 @@ const menu: MenuModule = { @@ -27,28 +27,6 @@ const menu: MenuModule = {
27 }, 27 },
28 ], 28 ],
29 }, 29 },
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 - // },  
52 ], 30 ],
53 }, 31 },
54 }; 32 };
src/router/menus/modules/demo/excel.ts 0 → 100644
  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
@@ -56,47 +56,5 @@ export default { @@ -56,47 +56,5 @@ export default {
56 }, 56 },
57 component: () => import('/@/views/demo/echarts/apex/index.vue'), 57 component: () => import('/@/views/demo/echarts/apex/index.vue'),
58 }, 58 },
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 - // },  
101 ], 59 ],
102 } as AppRouteModule; 60 } as AppRouteModule;
src/router/routes/modules/demo/excel.ts 0 → 100644
  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
@@ -31,7 +31,7 @@ export default { @@ -31,7 +31,7 @@ export default {
31 name: 'Doc', 31 name: 'Doc',
32 component: IFrame, 32 component: IFrame,
33 meta: { 33 meta: {
34 - frameSrc: 'https://vvbin.cn/docs/', 34 + frameSrc: 'https://vvbin.cn/doc-next/',
35 title: '项目文档(内嵌)', 35 title: '项目文档(内嵌)',
36 afterCloseLoading: true, 36 afterCloseLoading: true,
37 }, 37 },
@@ -41,7 +41,7 @@ export default { @@ -41,7 +41,7 @@ export default {
41 name: 'DocExternal', 41 name: 'DocExternal',
42 component: IFrame, 42 component: IFrame,
43 meta: { 43 meta: {
44 - externalLink: 'https://vvbin.cn/docs/', 44 + externalLink: 'https://vvbin.cn/doc-next/',
45 title: '项目文档(外链)', 45 title: '项目文档(外链)',
46 }, 46 },
47 }, 47 },
src/settings/siteSetting.ts
1 // github repo url 1 // github repo url
2 export const GITHUB_URL = 'https://github.com/anncwb/vue-vben-admin'; 2 export const GITHUB_URL = 'https://github.com/anncwb/vue-vben-admin';
3 // vue-vben-admin-next-doc 3 // vue-vben-admin-next-doc
4 -export const DOC_URL = ''; 4 +export const DOC_URL = 'https://vvbin.cn/doc-next/';