feat: 账号列表显示所属分组

- Account模型新增Groups虚拟字段
- 账号列表API预加载Group信息
- 账号管理页面新增分组列,使用GroupBadge展示
This commit is contained in:
shaw
2025-12-23 11:20:02 +08:00
parent f0fabf89a1
commit d9e27df9af
6 changed files with 30 additions and 3 deletions

View File

@@ -324,6 +324,7 @@ export interface Account {
updated_at: string;
proxy?: Proxy;
group_ids?: number[]; // Groups this account belongs to
groups?: Group[]; // Preloaded group objects
// Rate limit & scheduling fields
schedulable: boolean;