123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- import { type RouteMeta as VRouteMeta } from 'vue-router';
- import { type PermissionType } from '@/core/permission/modules/types';
- import { type LocaleType } from '@/locales/config';
- declare global {
- type Title18n = {
- [p in LocaleType]: string;
- };
- }
- declare module 'vue-router' {
- interface RouteMeta extends VRouteMeta {
-
- title: string | Title18n;
-
- type?: 0 | 1 | 2;
-
- perms?: PermissionType[];
-
- keepAlive?: boolean;
-
- namePath?: string[];
-
- fullPath?: string;
-
- affix?: boolean;
-
- icon?: string;
-
- transitionName?: string | false;
-
- hideChildrenInMenu?: boolean;
-
- hideInMenu?: boolean;
-
- hideInBreadcrumb?: boolean;
-
- hideInTabs?: boolean;
-
- activeMenu?: string;
-
- orderNum?: number;
- isLink?: boolean;
- }
- }
|