mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-22 12:05:02 +00:00
init
This commit is contained in:
45
types/vue-router.d.ts
vendored
Normal file
45
types/vue-router.d.ts
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
export {};
|
||||
|
||||
declare module 'vue-router' {
|
||||
interface RouteMeta extends Record<string | number | symbol, unknown> {
|
||||
orderNo?: number;
|
||||
// title
|
||||
title: string;
|
||||
// dynamic router level.
|
||||
dynamicLevel?: number;
|
||||
// dynamic router real route path (For performance).
|
||||
realPath?: string;
|
||||
// Whether to ignore permissions
|
||||
ignoreAuth?: boolean;
|
||||
// role info
|
||||
roles?: RoleEnum[];
|
||||
// Whether not to cache
|
||||
ignoreKeepAlive?: boolean;
|
||||
// Is it fixed on tab
|
||||
affix?: boolean;
|
||||
// icon on tab
|
||||
icon?: string;
|
||||
frameSrc?: string;
|
||||
// current page transition
|
||||
transitionName?: string;
|
||||
// Whether the route has been dynamically added
|
||||
hideBreadcrumb?: boolean;
|
||||
// Hide submenu
|
||||
hideChildrenInMenu?: boolean;
|
||||
// Carrying parameters
|
||||
carryParam?: boolean;
|
||||
// Used internally to mark single-level menus
|
||||
single?: boolean;
|
||||
// Currently active menu
|
||||
currentActiveMenu?: string;
|
||||
// Never show in tab
|
||||
hideTab?: boolean;
|
||||
// Never show in menu
|
||||
hideMenu?: boolean;
|
||||
isLink?: boolean;
|
||||
// only build for Menu
|
||||
ignoreRoute?: boolean;
|
||||
// Hide path for children
|
||||
hidePathForChildren?: boolean;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user