2021-06-19 22:38:29 +08:00
|
|
|
import type { RouteMeta } from 'vue-router';
|
2020-09-28 20:19:10 +08:00
|
|
|
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 return value
|
2020-09-28 20:19:10 +08:00
|
|
|
*/
|
2021-05-29 23:11:38 +08:00
|
|
|
export type getMenuListResultModel = RouteItem[];
|