chore(auth): 解决ts 类型检查报错

This commit is contained in:
2026-01-22 14:38:19 +08:00
parent d712f9a5bf
commit be5078ae0d
5 changed files with 15 additions and 6 deletions

View File

@@ -27,11 +27,15 @@ interface BasicUserInfo {
/**
* 用户角色
*/
role?: string;
roles?: string[];
/**
* 用户状态
*/
state?: string;
/**
* 首页路径
*/
homePath?: string;
}
type ClassType = Array<object | string> | object | string;