2020-09-28 20:19:10 +08:00
|
|
|
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[];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
2020-11-18 22:41:59 +08:00
|
|
|
* @description: Get menu interface
|
2020-09-28 20:19:10 +08:00
|
|
|
*/
|
|
|
|
|
export interface getMenuListByIdParams {
|
|
|
|
|
id: number | string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
2020-11-18 22:41:59 +08:00
|
|
|
* @description: Get menu return value
|
2020-09-28 20:19:10 +08:00
|
|
|
*/
|
|
|
|
|
export type getMenuListByIdParamsResultModel = RouteItem[];
|