Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-22 20:09:19 +08:00
v3-admin-vite/types/vue-router.d.ts

54 lines
1.9 KiB
TypeScript
Raw Normal View History

2022-10-18 15:07:42 +08:00
import "vue-router"
2024-11-21 19:52:07 +08:00
export {}
declare module "vue-router" {
interface RouteMeta {
/**
* @description
*/
title?: string
/**
* @description svg @/assets/icons
*/
svgIcon?: string
/**
* @description 使 Element Plus Icon svgIcon svgIcon
*/
elIcon?: string
/**
* @description false true
*/
hidden?: boolean
/**
* @description
*/
roles?: string[]
/**
* @description true false
*/
breadcrumb?: boolean
/**
* @description false true tags-view
*/
affix?: boolean
/**
2024-11-26 17:20:15 +08:00
* @description children 1
* @description 1
* @description alwaysShow: true
*/
alwaysShow?: boolean
/**
* @description 示例: activeMenu: "/xxx/xxx"
2024-11-26 17:20:15 +08:00
* @description activeMenu
* @description 使 hidden: true
*/
activeMenu?: string
2023-02-22 15:53:04 +08:00
/**
* @description
* @description false true Name
2023-02-22 15:53:04 +08:00
*/
keepAlive?: boolean
}
}