Li Kui
2023-10-16 0bb76a86d25cbd1de1c672f5cc5e63d0ae478b68
提交 | 用户 | age
8ba4fb 1 import { RoleEnum } from '/@/enums/roleEnum';
2
7dce50 3 export {};
V 4
5 declare module 'vue-router' {
6   interface RouteMeta extends Record<string | number | symbol, unknown> {
913c22 7     orderNo?: number;
7dce50 8     // title
V 9     title: string;
eac2fb 10     // dynamic router level.
H 11     dynamicLevel?: number;
12     // dynamic router real route path (For performance).
13     realPath?: string;
7dce50 14     // Whether to ignore permissions
V 15     ignoreAuth?: boolean;
16     // role info
17     roles?: RoleEnum[];
18     // Whether not to cache
19     ignoreKeepAlive?: boolean;
20     // Is it fixed on tab
21     affix?: boolean;
22     // icon on tab
23     icon?: string;
24     frameSrc?: string;
25     // current page transition
26     transitionName?: string;
27     // Whether the route has been dynamically added
28     hideBreadcrumb?: boolean;
29     // Hide submenu
30     hideChildrenInMenu?: boolean;
31     // Carrying parameters
32     carryParam?: boolean;
33     // Used internally to mark single-level menus
34     single?: boolean;
35     // Currently active menu
36     currentActiveMenu?: string;
37     // Never show in tab
38     hideTab?: boolean;
39     // Never show in menu
40     hideMenu?: boolean;
41     isLink?: boolean;
d52b0d 42     // only build for Menu
72ac24 43     ignoreRoute?: boolean;
d52b0d 44     // Hide path for children
45     hidePathForChildren?: boolean;
7dce50 46   }
V 47 }