feat: 接入真实登录鉴权流程

This commit is contained in:
湛兮
2026-05-26 14:45:15 +08:00
parent a6c9f5dee3
commit 5003628017
21 changed files with 572 additions and 305 deletions
+4
View File
@@ -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``可选` */