123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- import type { MenuModule } from '/@/router/types';
- import { t } from '/@/hooks/web/useI18n';
- const menu: MenuModule = {
- orderNo: 19,
- menu: {
- name: t('routes.demo.feat.feat'),
- path: '/feat',
- children: [
- {
- path: 'icon',
- name: t('routes.demo.feat.icon'),
- },
- {
- path: 'ws',
- name: t('routes.demo.feat.ws'),
- },
- {
- name: t('routes.demo.feat.sessionTimeout'),
- path: 'session-timeout',
- },
- {
- path: 'tabs',
- name: t('routes.demo.feat.tabs'),
- },
- {
- path: 'context-menu',
- name: t('routes.demo.feat.contextMenu'),
- },
- {
- path: 'download',
- name: t('routes.demo.feat.download'),
- },
- {
- path: 'print',
- name: t('routes.demo.feat.print'),
- },
- {
- path: 'click-out-side',
- name: t('routes.demo.feat.clickOutSide'),
- },
- {
- path: 'img-preview',
- name: t('routes.demo.feat.imgPreview'),
- },
- {
- path: 'copy',
- name: t('routes.demo.feat.copy'),
- },
- {
- path: 'msg',
- name: t('routes.demo.feat.msg'),
- },
- {
- path: 'watermark',
- name: t('routes.demo.feat.watermark'),
- },
- {
- path: 'ripple',
- name: t('routes.demo.feat.ripple'),
- },
- {
- path: 'full-screen',
- name: t('routes.demo.feat.fullScreen'),
- },
- {
- path: 'error-log',
- name: t('routes.demo.feat.errorLog'),
- },
- {
- 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'),
- },
- ],
- },
- {
- name: t('routes.demo.feat.breadcrumb'),
- path: 'breadcrumb',
- children: [
- // {
- // path: 'flat',
- // name: t('routes.demo.feat.breadcrumbFlat'),
- // },
- // {
- // path: 'flatDetail',
- // name: t('routes.demo.feat.breadcrumbFlatDetail'),
- // },
- {
- path: 'children',
- name: t('routes.demo.feat.breadcrumbChildren'),
- },
- ],
- },
- {
- path: 'testTab',
- name: t('routes.demo.feat.tab'),
- children: [
- {
- path: 'id1',
- name: t('routes.demo.feat.tab1'),
- },
- {
- path: 'id2',
- name: t('routes.demo.feat.tab2'),
- },
- ],
- },
- ],
- },
- };
- export default menu;
|