Skip to content

Commit

Permalink
chore: update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Oct 19, 2020
1 parent a207caf commit 2fbc450
Show file tree
Hide file tree
Showing 7 changed files with 86 additions and 68 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

## 文档

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

## 预安装

Expand Down
22 changes: 0 additions & 22 deletions src/router/menus/modules/demo/charts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: '导入',
},
// ],
// },
],
},
};
Expand Down
29 changes: 29 additions & 0 deletions src/router/menus/modules/demo/excel.ts
Original file line number Diff line number Diff line change
@@ -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;
42 changes: 0 additions & 42 deletions src/router/routes/modules/demo/charts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 53 additions & 0 deletions src/router/routes/modules/demo/excel.ts
Original file line number Diff line number Diff line change
@@ -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;
4 changes: 2 additions & 2 deletions src/router/routes/modules/demo/iframe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand All @@ -41,7 +41,7 @@ export default {
name: 'DocExternal',
component: IFrame,
meta: {
externalLink: 'https://vvbin.cn/docs/',
externalLink: 'https://vvbin.cn/doc-next/',
title: '项目文档(外链)',
},
},
Expand Down
2 changes: 1 addition & 1 deletion src/settings/siteSetting.ts
Original file line number Diff line number Diff line change
@@ -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/';

0 comments on commit 2fbc450

Please sign in to comment.