Blame view

src/router/menus/modules/demo/feat.ts 2.78 KB
1
import type { MenuModule } from '/@/router/types';
2
import { t } from '/@/hooks/web/useI18n';
vben authored
3
陈文彬 authored
4
const menu: MenuModule = {
vben authored
5
  orderNo: 19,
陈文彬 authored
6
  menu: {
7
    name: t('routes.demo.feat.feat'),
陈文彬 authored
8
    path: '/feat',
vben authored
9
陈文彬 authored
10
11
    children: [
      {
vben authored
12
        path: 'icon',
13
        name: t('routes.demo.feat.icon'),
vben authored
14
15
      },
      {
16
17
18
19
        path: 'ws',
        name: t('routes.demo.feat.ws'),
      },
      {
vben authored
20
        path: 'tabs',
21
        name: t('routes.demo.feat.tabs'),
陈文彬 authored
22
      },
23
陈文彬 authored
24
      {
vben authored
25
        path: 'context-menu',
26
        name: t('routes.demo.feat.contextMenu'),
陈文彬 authored
27
      },
28
      {
vben authored
29
        path: 'download',
30
        name: t('routes.demo.feat.download'),
vben authored
31
32
      },
      {
Vben authored
33
34
35
36
        path: 'print',
        name: t('routes.demo.feat.print'),
      },
      {
vben authored
37
        path: 'click-out-side',
38
        name: t('routes.demo.feat.clickOutSide'),
vben authored
39
40
      },
      {
vben authored
41
        path: 'img-preview',
42
        name: t('routes.demo.feat.imgPreview'),
43
      },
陈文彬 authored
44
      {
vben authored
45
        path: 'copy',
46
        name: t('routes.demo.feat.copy'),
陈文彬 authored
47
48
      },
      {
vben authored
49
        path: 'msg',
50
        name: t('routes.demo.feat.msg'),
陈文彬 authored
51
52
      },
      {
vben authored
53
        path: 'watermark',
54
        name: t('routes.demo.feat.watermark'),
陈文彬 authored
55
56
      },
      {
vben authored
57
58
59
60
        path: 'ripple',
        name: t('routes.demo.feat.ripple'),
      },
      {
vben authored
61
        path: 'full-screen',
62
        name: t('routes.demo.feat.fullScreen'),
陈文彬 authored
63
      },
vben authored
64
      {
vben authored
65
        path: 'error-log',
66
        name: t('routes.demo.feat.errorLog'),
vben authored
67
      },
vben authored
68
vben authored
69
      {
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
        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'),
          },
        ],
      },
      {
92
93
        name: t('routes.demo.feat.breadcrumb'),
        path: 'breadcrumb',
94
95
        children: [
Vben authored
96
97
98
99
100
101
102
103
          // {
          //   path: 'flat',
          //   name: t('routes.demo.feat.breadcrumbFlat'),
          // },
          // {
          //   path: 'flatDetail',
          //   name: t('routes.demo.feat.breadcrumbFlatDetail'),
          // },
104
105
106
107
108
109
110
          {
            path: 'children',
            name: t('routes.demo.feat.breadcrumbChildrenDetail'),
          },
        ],
      },
      {
vben authored
111
        path: 'testTab',
112
        name: t('routes.demo.feat.tab'),
vben authored
113
114
        children: [
          {
vben authored
115
            path: 'id1',
116
            name: t('routes.demo.feat.tab1'),
vben authored
117
118
          },
          {
vben authored
119
            path: 'id2',
120
            name: t('routes.demo.feat.tab2'),
vben authored
121
122
123
          },
        ],
      },
陈文彬 authored
124
125
126
127
    ],
  },
};
export default menu;