53 lines
1.7 KiB
TypeScript
Raw Permalink Normal View History

2023-04-10 21:53:03 +08:00
import "vue-router"
declare module "vue-router" {
interface RouteMeta {
/**
*
*/
title?: string
/**
* svg @/icons/svg
*/
svgIcon?: string
/**
* 使 Element Plus Icon svgIcon svgIcon
*/
elIcon?: string
/**
* false true
*/
hidden?: boolean
/**
*
*/
roles?: string[]
/**
* true false
*/
breadcrumb?: boolean
/**
* false true tags-view
*/
affix?: boolean
/**
* children 1
*
* children
* alwaysShow: true
*/
alwaysShow?: boolean
/**
* 示例: activeMenu: "/xxx/xxx"
* activeMenu
* 使 hidden: true
*/
activeMenu?: string
/**
*
* false true Name
*/
keepAlive?: boolean
}
}