Blame view

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

/**
vben authored
15
 * @description: Get menu return value
陈文彬 authored
16
 */
17
export type getMenuListResultModel = RouteItem[];