admin-vben/packages/types/global.d.ts

93 lines
1.6 KiB
TypeScript
Raw Normal View History

2024-05-19 13:20:42 +00:00
import 'vue-router';
declare module 'vue-router' {
interface RouteMeta {
/**
*
* @default false
*/
affixTab?: boolean;
/**
* 访
* @default []
*/
authority?: string[];
/**
*
*/
badge?: string;
/**
*
*/
badgeType?: 'dot' | 'normal';
/**
*
*/
badgeVariants?:
| 'default'
| 'destructive'
| 'primary'
| 'success'
| 'warning'
| string;
/**
*
* @default false
*/
hideChildrenInMenu?: boolean;
/**
*
* @default false
*/
hideInBreadcrumb?: boolean;
/**
*
* @default false
*/
hideInMenu?: boolean;
/**
*
* @default false
*/
hideInTab?: boolean;
/**
*
*/
href?: string;
/**
* /tab
*/
icon?: string;
/**
* iframe
*/
iframeSrc?: string;
/**
* 访
* @default false
*/
ignoreAccess?: boolean;
/**
* KeepAlive
*/
keepAlive?: boolean;
/**
*
*/
loaded?: boolean;
/**
* ->
*/
orderNo?: number;
/**
* -
*/
target?: string;
2024-05-19 13:20:42 +00:00
/**
*
*/
title: string;
}
}