menuModel.ts 468 B

1234567891011121314151617181920212223
  1. import { RouteMeta } from '/@/router/types';
  2. export interface RouteItem {
  3. path: string;
  4. component: any;
  5. meta: RouteMeta;
  6. name?: string;
  7. alias?: string | string[];
  8. redirect?: string;
  9. caseSensitive?: boolean;
  10. children?: RouteItem[];
  11. }
  12. /**
  13. * @description: 获取菜单接口
  14. */
  15. export interface getMenuListByIdParams {
  16. id: number | string;
  17. }
  18. /**
  19. * @description: 获取菜单返回值
  20. */
  21. export type getMenuListByIdParamsResultModel = RouteItem[];