| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 | | import { RouteLocationNormalized, RouteRecordRaw } from 'vue-router'; |  |   |  | export type MyRouteMeta = { |  |   title?: string; |  |   rank?: number; |  |   icon?: string; |  |   needAuth?: boolean; |  |   keepAlive?: boolean; |  |   refreshRedirect?: string; |  |   dynamicLevel?: string; |  |   moduleId?: string; |  |   showLink?: boolean; |  | }; |  |   |  | export interface ToRouteType extends RouteLocationNormalized { |  |   meta: MyRouteMeta; |  |   children?: ToRouteType[]; |  |   redirect: string; |  |   // component?: any |  | } |  |   |  | export type Route = RouteRecordRaw & { |  |   meta?: MyRouteMeta; |  |   children?: Route[]; |  | }; | 
 |