mirror of
https://github.com/vbenjs/gf-vben-admin.git
synced 2025-01-23 11:50:20 +08:00
chore: update readme.md
This commit is contained in:
parent
a207cafec9
commit
2fbc450414
@ -61,7 +61,7 @@
|
||||
|
||||
## 文档
|
||||
|
||||
2.0 文档很快完成,请耐心等待。
|
||||
[文档地址,持续更新中。。,](https://vvbin.cn/doc-next/)
|
||||
|
||||
## 预安装
|
||||
|
||||
|
@ -27,28 +27,6 @@ const menu: MenuModule = {
|
||||
},
|
||||
],
|
||||
},
|
||||
// {
|
||||
// path: '/excel',
|
||||
// name: 'excel',
|
||||
// children: [
|
||||
{
|
||||
path: '/customExport',
|
||||
name: '选择导出格式',
|
||||
},
|
||||
{
|
||||
path: '/jsonExport',
|
||||
name: 'JSON数据导出',
|
||||
},
|
||||
{
|
||||
path: '/arrayExport',
|
||||
name: 'Array数据导出',
|
||||
},
|
||||
{
|
||||
path: '/importExcel',
|
||||
name: '导入',
|
||||
},
|
||||
// ],
|
||||
// },
|
||||
],
|
||||
},
|
||||
};
|
||||
|
29
src/router/menus/modules/demo/excel.ts
Normal file
29
src/router/menus/modules/demo/excel.ts
Normal file
@ -0,0 +1,29 @@
|
||||
import type { MenuModule } from '/@/router/types.d';
|
||||
const menu: MenuModule = {
|
||||
orderNo: 500,
|
||||
menu: {
|
||||
name: 'Excel',
|
||||
path: '/excel',
|
||||
children: [
|
||||
{
|
||||
path: '/customExport',
|
||||
name: '选择导出格式',
|
||||
},
|
||||
{
|
||||
path: '/jsonExport',
|
||||
name: 'JSON数据导出',
|
||||
},
|
||||
{
|
||||
path: '/arrayExport',
|
||||
name: 'Array数据导出',
|
||||
},
|
||||
{
|
||||
path: '/importExcel',
|
||||
name: '导入',
|
||||
},
|
||||
// ],
|
||||
// },
|
||||
],
|
||||
},
|
||||
};
|
||||
export default menu;
|
@ -56,47 +56,5 @@ export default {
|
||||
},
|
||||
component: () => import('/@/views/demo/echarts/apex/index.vue'),
|
||||
},
|
||||
// {
|
||||
// path: '/excel',
|
||||
// name: 'ExcelDemo',
|
||||
// redirect: '/charts/excel/export',
|
||||
// meta: {
|
||||
// title: 'excel',
|
||||
// },
|
||||
// children: [
|
||||
{
|
||||
path: '/customExport',
|
||||
name: 'CustomExport',
|
||||
component: () => import('/@/views/demo/echarts/excel/CustomExport.vue'),
|
||||
meta: {
|
||||
title: '选择导出格式',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/jsonExport',
|
||||
name: 'JsonExport',
|
||||
component: () => import('/@/views/demo/echarts/excel/JsonExport.vue'),
|
||||
meta: {
|
||||
title: 'JSON数据导出',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/arrayExport',
|
||||
name: 'ArrayExport',
|
||||
component: () => import('/@/views/demo/echarts/excel/ArrayExport.vue'),
|
||||
meta: {
|
||||
title: 'Array数据导出',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/importExcel',
|
||||
name: 'ImportExcel',
|
||||
component: () => import('/@/views/demo/echarts/excel/ImportExcel.vue'),
|
||||
meta: {
|
||||
title: '导入',
|
||||
},
|
||||
},
|
||||
// ],
|
||||
// },
|
||||
],
|
||||
} as AppRouteModule;
|
||||
|
53
src/router/routes/modules/demo/excel.ts
Normal file
53
src/router/routes/modules/demo/excel.ts
Normal file
@ -0,0 +1,53 @@
|
||||
import type { AppRouteModule } from '/@/router/types';
|
||||
|
||||
import { PAGE_LAYOUT_COMPONENT } from '/@/router/constant';
|
||||
|
||||
export default {
|
||||
layout: {
|
||||
path: '/excel',
|
||||
name: 'Excel',
|
||||
component: PAGE_LAYOUT_COMPONENT,
|
||||
redirect: '/excel/customExport',
|
||||
meta: {
|
||||
icon: 'ant-design:area-chart-outlined',
|
||||
title: 'Excel',
|
||||
},
|
||||
},
|
||||
|
||||
routes: [
|
||||
{
|
||||
path: '/customExport',
|
||||
name: 'CustomExport',
|
||||
component: () => import('/@/views/demo/echarts/excel/CustomExport.vue'),
|
||||
meta: {
|
||||
title: '选择导出格式',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/jsonExport',
|
||||
name: 'JsonExport',
|
||||
component: () => import('/@/views/demo/echarts/excel/JsonExport.vue'),
|
||||
meta: {
|
||||
title: 'JSON数据导出',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/arrayExport',
|
||||
name: 'ArrayExport',
|
||||
component: () => import('/@/views/demo/echarts/excel/ArrayExport.vue'),
|
||||
meta: {
|
||||
title: 'Array数据导出',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/importExcel',
|
||||
name: 'ImportExcel',
|
||||
component: () => import('/@/views/demo/echarts/excel/ImportExcel.vue'),
|
||||
meta: {
|
||||
title: '导入',
|
||||
},
|
||||
},
|
||||
// ],
|
||||
// },
|
||||
],
|
||||
} as AppRouteModule;
|
@ -31,7 +31,7 @@ export default {
|
||||
name: 'Doc',
|
||||
component: IFrame,
|
||||
meta: {
|
||||
frameSrc: 'https://vvbin.cn/docs/',
|
||||
frameSrc: 'https://vvbin.cn/doc-next/',
|
||||
title: '项目文档(内嵌)',
|
||||
afterCloseLoading: true,
|
||||
},
|
||||
@ -41,7 +41,7 @@ export default {
|
||||
name: 'DocExternal',
|
||||
component: IFrame,
|
||||
meta: {
|
||||
externalLink: 'https://vvbin.cn/docs/',
|
||||
externalLink: 'https://vvbin.cn/doc-next/',
|
||||
title: '项目文档(外链)',
|
||||
},
|
||||
},
|
||||
|
@ -1,4 +1,4 @@
|
||||
// github repo url
|
||||
export const GITHUB_URL = 'https://github.com/anncwb/vue-vben-admin';
|
||||
// vue-vben-admin-next-doc
|
||||
export const DOC_URL = '';
|
||||
export const DOC_URL = 'https://vvbin.cn/doc-next/';
|
||||
|
Loading…
Reference in New Issue
Block a user