Blame view

src/api/sys/model/menuModel.ts 347 Bytes
Vben authored
1
import type { RouteMeta } from 'vue-router';
陈文彬 authored
2
3
4
5
6
7
8
9
10
11
12
13
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 return value
陈文彬 authored
15
 */
16
export type getMenuListResultModel = RouteItem[];