menuModel.ts 347 B

12345678910111213141516
  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: Get menu return value
  14. */
  15. export type getMenuListResultModel = RouteItem[];