Blame view

src/api/sys/model/menuModel.ts 468 Bytes
陈文彬 authored
1
2
3
4
5
6
7
8
9
10
11
12
13
import { RouteMeta } from '/@/router/types';
export interface RouteItem {
  path: string;
  component: any;
  meta: RouteMeta;
  name?: string;
  alias?: string | string[];
  redirect?: string;
  caseSensitive?: boolean;
  children?: RouteItem[];
}

/**
vben authored
14
 * @description: Get menu interface
陈文彬 authored
15
16
17
18
19
20
 */
export interface getMenuListByIdParams {
  id: number | string;
}

/**
vben authored
21
 * @description: Get menu return value
陈文彬 authored
22
23
 */
export type getMenuListByIdParamsResultModel = RouteItem[];