2020-09-28 20:19:10 +08:00
|
|
|
import type { MenuModule } from '/@/router/types.d';
|
2020-12-09 00:12:44 +08:00
|
|
|
import { t } from '/@/hooks/web/useI18n';
|
2020-11-26 21:10:21 +08:00
|
|
|
|
2020-09-28 20:19:10 +08:00
|
|
|
const menu: MenuModule = {
|
2020-11-12 22:15:15 +08:00
|
|
|
orderNo: 19,
|
2020-09-28 20:19:10 +08:00
|
|
|
menu: {
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.feat.feat'),
|
2020-09-28 20:19:10 +08:00
|
|
|
path: '/feat',
|
2020-12-21 22:34:07 +08:00
|
|
|
tag: {
|
|
|
|
|
dot: true,
|
|
|
|
|
},
|
2020-11-23 23:30:20 +08:00
|
|
|
|
2020-09-28 20:19:10 +08:00
|
|
|
children: [
|
2020-10-11 23:48:25 +08:00
|
|
|
{
|
2020-10-22 23:56:33 +08:00
|
|
|
path: 'icon',
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.feat.icon'),
|
2020-10-11 23:48:25 +08:00
|
|
|
},
|
2020-09-28 20:19:10 +08:00
|
|
|
{
|
2020-10-22 23:56:33 +08:00
|
|
|
path: 'tabs',
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.feat.tabs'),
|
2020-09-28 20:19:10 +08:00
|
|
|
},
|
|
|
|
|
{
|
2020-10-22 23:56:33 +08:00
|
|
|
path: 'context-menu',
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.feat.contextMenu'),
|
2020-09-28 20:19:10 +08:00
|
|
|
},
|
2020-11-13 00:55:25 +08:00
|
|
|
{
|
|
|
|
|
path: 'download',
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.feat.download'),
|
2020-11-13 00:55:25 +08:00
|
|
|
},
|
2020-10-11 23:48:25 +08:00
|
|
|
{
|
2020-10-22 23:56:33 +08:00
|
|
|
path: 'click-out-side',
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.feat.clickOutSide'),
|
2020-10-11 23:48:25 +08:00
|
|
|
},
|
2020-10-07 10:11:25 +08:00
|
|
|
{
|
2020-10-22 23:56:33 +08:00
|
|
|
path: 'img-preview',
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.feat.imgPreview'),
|
2020-10-07 10:11:25 +08:00
|
|
|
},
|
2020-09-28 20:19:10 +08:00
|
|
|
{
|
2020-10-22 23:56:33 +08:00
|
|
|
path: 'copy',
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.feat.copy'),
|
2020-09-28 20:19:10 +08:00
|
|
|
},
|
|
|
|
|
{
|
2020-10-22 23:56:33 +08:00
|
|
|
path: 'msg',
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.feat.msg'),
|
2020-09-28 20:19:10 +08:00
|
|
|
},
|
|
|
|
|
{
|
2020-10-22 23:56:33 +08:00
|
|
|
path: 'watermark',
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.feat.watermark'),
|
2020-09-28 20:19:10 +08:00
|
|
|
},
|
2020-12-21 22:34:07 +08:00
|
|
|
{
|
|
|
|
|
path: 'ripple',
|
|
|
|
|
name: t('routes.demo.feat.ripple'),
|
|
|
|
|
tag: {
|
|
|
|
|
content: 'new',
|
|
|
|
|
},
|
|
|
|
|
},
|
2020-09-28 20:19:10 +08:00
|
|
|
{
|
2020-10-22 23:56:33 +08:00
|
|
|
path: 'full-screen',
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.feat.fullScreen'),
|
2020-09-28 20:19:10 +08:00
|
|
|
},
|
2020-11-03 21:30:25 +08:00
|
|
|
{
|
|
|
|
|
path: 'error-log',
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.feat.errorLog'),
|
2020-11-03 21:30:25 +08:00
|
|
|
},
|
2020-12-21 23:38:16 +08:00
|
|
|
{
|
|
|
|
|
name: t('routes.demo.excel.excel'),
|
|
|
|
|
path: 'excel',
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: 'customExport',
|
|
|
|
|
name: t('routes.demo.excel.customExport'),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'jsonExport',
|
|
|
|
|
name: t('routes.demo.excel.jsonExport'),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'arrayExport',
|
|
|
|
|
name: t('routes.demo.excel.arrayExport'),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'importExcel',
|
|
|
|
|
name: t('routes.demo.excel.importExcel'),
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
2020-10-14 21:08:07 +08:00
|
|
|
{
|
2020-10-22 23:56:33 +08:00
|
|
|
path: 'testTab',
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.feat.tab'),
|
2020-10-14 21:08:07 +08:00
|
|
|
children: [
|
|
|
|
|
{
|
2020-10-22 23:56:33 +08:00
|
|
|
path: 'id1',
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.feat.tab1'),
|
2020-10-14 21:08:07 +08:00
|
|
|
},
|
|
|
|
|
{
|
2020-10-22 23:56:33 +08:00
|
|
|
path: 'id2',
|
2020-12-09 00:12:44 +08:00
|
|
|
name: t('routes.demo.feat.tab2'),
|
2020-10-14 21:08:07 +08:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
2020-09-28 20:19:10 +08:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
export default menu;
|