mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat: 新增 affix 属性,用于将其固定在tab卡
This commit is contained in:
2
src/typings/route.d.ts
vendored
2
src/typings/route.d.ts
vendored
@ -60,6 +60,8 @@ declare namespace AuthRoute {
|
||||
activeMenu?: RouteKey;
|
||||
/** 表示是否是多级路由的中间级路由(用于转换路由数据时筛选多级路由的标识,定义路由时不用填写) */
|
||||
multi?: boolean;
|
||||
/** 是否固定在tab卡不可关闭 */
|
||||
affix?: boolean;
|
||||
}
|
||||
|
||||
type Route<K extends AllRouteKey = AllRouteKey> = K extends AllRouteKey
|
||||
|
Reference in New Issue
Block a user