Blame view

src/router/menus/modules/demo/comp.ts 2.15 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
9
10
    tag: {
      dot: true,
    },
陈文彬 authored
11
12
    children: [
      {
vben authored
13
        path: 'basic',
vben authored
14
        name: 'routes.demo.comp.basic',
陈文彬 authored
15
      },
16
      {
vben authored
17
        path: 'countTo',
vben authored
18
        name: 'routes.demo.comp.countTo',
19
      },
20
21
      {
        path: 'transition',
vben authored
22
        name: 'routes.demo.comp.transition',
23
      },
vben authored
24
陈文彬 authored
25
      {
26
        path: 'modal',
vben authored
27
        name: 'routes.demo.comp.modal',
28
29
30
      },
      {
        path: 'drawer',
vben authored
31
        name: 'routes.demo.comp.drawer',
32
33
34
      },
      {
        path: 'desc',
vben authored
35
        name: 'routes.demo.comp.desc',
36
37
38
      },
      {
        path: 'qrcode',
vben authored
39
        name: 'routes.demo.comp.qrcode',
40
41
42
      },
      {
        path: 'strength-meter',
vben authored
43
        name: 'routes.demo.comp.strength',
44
      },
45
46
      {
        path: 'upload',
vben authored
47
        name: 'routes.demo.comp.upload',
48
      },
jq authored
49
      {
50
51
        path: 'loading',
        name: 'routes.demo.comp.loading',
vben authored
52
53
54
        tag: {
          content: 'new',
        },
55
56
      },
      {
vben authored
57
        path: 'scroll',
vben authored
58
        name: 'routes.demo.comp.scroll',
陈文彬 authored
59
60
61
        children: [
          {
            path: 'basic',
vben authored
62
            name: 'routes.demo.comp.scrollBasic',
陈文彬 authored
63
64
65
          },
          {
            path: 'action',
vben authored
66
            name: 'routes.demo.comp.scrollAction',
陈文彬 authored
67
68
69
          },
          {
            path: 'virtualScroll',
vben authored
70
            name: 'routes.demo.comp.virtualScroll',
陈文彬 authored
71
72
73
74
          },
        ],
      },
      {
75
        path: 'lazy',
vben authored
76
        name: 'routes.demo.comp.lazy',
77
78
79
        children: [
          {
            path: 'basic',
vben authored
80
            name: 'routes.demo.comp.lazyBasic',
81
82
83
          },
          {
            path: 'transition',
vben authored
84
            name: 'routes.demo.comp.lazyTransition',
85
86
          },
        ],
87
88
      },
      {
vben authored
89
        path: 'verify',
vben authored
90
        name: 'routes.demo.comp.verify',
陈文彬 authored
91
92
        children: [
          {
vben authored
93
            path: 'drag',
vben authored
94
            name: 'routes.demo.comp.verifyDrag',
陈文彬 authored
95
96
          },
          {
vben authored
97
            path: 'rotate',
vben authored
98
            name: 'routes.demo.comp.verifyRotate',
vben authored
99
100
101
          },
        ],
      },
陈文彬 authored
102
103
104
105
    ],
  },
};
export default menu;