Blame view

src/router/menus/modules/demo/comp.ts 1.98 KB
陈文彬 authored
1
import type { MenuModule } from '/@/router/types.d';
vben authored
2
陈文彬 authored
3
4
5
const menu: MenuModule = {
  orderNo: 30,
  menu: {
vben authored
6
    name: 'routes.demo.comp.comp',
陈文彬 authored
7
    path: '/comp',
vben authored
8
陈文彬 authored
9
10
    children: [
      {
vben authored
11
        path: 'basic',
vben authored
12
        name: 'routes.demo.comp.basic',
陈文彬 authored
13
      },
14
      {
vben authored
15
        path: 'countTo',
vben authored
16
        name: 'routes.demo.comp.countTo',
17
      },
18
19
      {
        path: 'transition',
vben authored
20
        name: 'routes.demo.comp.transition',
21
      },
vben authored
22
陈文彬 authored
23
      {
24
        path: 'modal',
vben authored
25
        name: 'routes.demo.comp.modal',
26
27
28
      },
      {
        path: 'drawer',
vben authored
29
        name: 'routes.demo.comp.drawer',
30
31
32
      },
      {
        path: 'desc',
vben authored
33
        name: 'routes.demo.comp.desc',
34
35
36
      },
      {
        path: 'qrcode',
vben authored
37
        name: 'routes.demo.comp.qrcode',
38
39
40
      },
      {
        path: 'strength-meter',
vben authored
41
        name: 'routes.demo.comp.strength',
42
      },
43
44
      {
        path: 'upload',
vben authored
45
        name: 'routes.demo.comp.upload',
46
      },
jq authored
47
      {
vben authored
48
        path: 'scroll',
vben authored
49
        name: 'routes.demo.comp.scroll',
陈文彬 authored
50
51
52
        children: [
          {
            path: 'basic',
vben authored
53
            name: 'routes.demo.comp.scrollBasic',
陈文彬 authored
54
55
56
          },
          {
            path: 'action',
vben authored
57
            name: 'routes.demo.comp.scrollAction',
陈文彬 authored
58
59
60
          },
          {
            path: 'virtualScroll',
vben authored
61
            name: 'routes.demo.comp.virtualScroll',
陈文彬 authored
62
63
64
65
          },
        ],
      },
      {
66
        path: 'lazy',
vben authored
67
        name: 'routes.demo.comp.lazy',
68
69
70
        children: [
          {
            path: 'basic',
vben authored
71
            name: 'routes.demo.comp.lazyBasic',
72
73
74
          },
          {
            path: 'transition',
vben authored
75
            name: 'routes.demo.comp.lazyTransition',
76
77
          },
        ],
78
79
      },
      {
vben authored
80
        path: 'verify',
vben authored
81
        name: 'routes.demo.comp.verify',
陈文彬 authored
82
83
        children: [
          {
vben authored
84
            path: 'drag',
vben authored
85
            name: 'routes.demo.comp.verifyDrag',
陈文彬 authored
86
87
          },
          {
vben authored
88
            path: 'rotate',
vben authored
89
            name: 'routes.demo.comp.verifyRotate',
vben authored
90
91
92
          },
        ],
      },
陈文彬 authored
93
94
95
96
    ],
  },
};
export default menu;