comp.ts 1.6 KB
Newer Older
陈文彬 已提交
1 2 3 4 5 6 7 8 9 10 11
import type { MenuModule } from '/@/router/types.d';
const menu: MenuModule = {
  orderNo: 30,
  menu: {
    name: '组件',
    path: '/comp',
    children: [
      {
        path: '/basic',
        name: '基础组件',
      },
V
vben 已提交
12 13 14 15
      {
        path: '/countTo',
        name: '数字动画',
      },
V
vben 已提交
16

陈文彬 已提交
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
      {
        path: '/scroll',
        name: '滚动组件',
        children: [
          {
            path: 'basic',
            name: '基础示例',
          },
          {
            path: 'action',
            name: '函数操作示例',
          },
          {
            path: 'virtualScroll',
            name: '虚拟滚动',
          },
        ],
      },
      {
        path: '/modal',
        name: '弹窗扩展',
      },
      {
        path: '/drawer',
        name: '抽屉扩展',
      },
      {
        path: '/desc',
        name: '详情组件',
      },
      {
        path: '/verify',
        name: '验证组件',
        children: [
          {
            path: '/drag',
            name: '拖拽校验',
          },
          {
            path: '/rotate',
            name: '图片还原校验',
          },
        ],
      },
      {
        path: '/qrcode',
        name: '二维码组件',
      },
      {
        path: '/strength-meter',
        name: '密码强度组件',
      },
J
jq002 已提交
69 70 71 72 73 74 75 76 77 78 79 80 81 82
      {
        path: '/excel',
        name: 'excel',
        children: [
          {
            path: '/export',
            name: 'Export',
          },
          {
            path: '/import',
            name: 'Import',
          },
        ],
      },
陈文彬 已提交
83 84 85 86
    ],
  },
};
export default menu;