mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 14:31:41 +08:00
fix(excel): update excel demo
This commit is contained in:
@@ -56,5 +56,47 @@ 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;
|
||||
|
@@ -136,31 +136,5 @@ export default {
|
||||
title: '密码强度组件',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/excel',
|
||||
name: 'ExcelDemo',
|
||||
redirect: '/comp/excel/export',
|
||||
meta: {
|
||||
title: 'excel',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'export',
|
||||
name: 'Export2Excel',
|
||||
component: () => import('/@/views/demo/comp/excel/ExportToExcel.vue'),
|
||||
meta: {
|
||||
title: 'Export2Excel',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'import',
|
||||
name: 'ImportExcel',
|
||||
component: () => import('/@/views/demo/comp/excel/ImportExcel.vue'),
|
||||
meta: {
|
||||
title: 'ImportExcel',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
} as AppRouteModule;
|
||||
|
Reference in New Issue
Block a user