feat(route): 路由meta新增activeMenu属性

This commit is contained in:
燕博文
2022-05-17 13:54:48 +08:00
parent 84cb07baec
commit ebd16a4d1a
4 changed files with 5 additions and 3 deletions

View File

@ -93,6 +93,8 @@ declare namespace AuthRoute {
order?: number;
/** 表示是否是多级路由的中间级路由(用于转换路由数据时筛选多级路由的标识,定义路由时不用填写) */
multi?: boolean;
/** 当前路由需要选中的菜单项(用于跳转至不在左侧菜单显示的路由且需要高亮某个菜单的情况) */
activeMenu?: RouteKey;
};
/** 单个路由的类型结构(动态路由模式:后端返回此类型结构的路由) */