feat: 接入真实登录鉴权流程
This commit is contained in:
Vendored
+4
@@ -24,6 +24,10 @@ declare global {
|
||||
showParent?: boolean;
|
||||
/** 页面级别权限设置 `可选` */
|
||||
roles?: Array<string>;
|
||||
/** 后端权限码,支持单个权限或任意一个权限命中即可访问 */
|
||||
permission?: string | Array<string>;
|
||||
/** 后端权限菜单 key,用于和 `/api/permissions/me` 返回菜单对应 */
|
||||
menuKey?: string;
|
||||
/** 按钮级别权限设置 `可选` */
|
||||
auths?: Array<string>;
|
||||
/** 路由组件缓存(开启 `true`、关闭 `false`)`可选` */
|
||||
|
||||
Reference in New Issue
Block a user