mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-22 16:43:35 +00:00
fix: 账户时间线入口与路由修复
- 移除账户列表下拉/卡片的时间线入口,仅保留详情弹窗顶部按钮 - ActionDropdown 全局互斥,避免多菜单堆叠 - 账户筛选去重,避免“未知渠道”重复泄露
This commit is contained in:
@@ -2133,9 +2133,14 @@ router.get('/api-keys/:keyId/usage-records', authenticateAdmin, async (req, res)
|
||||
}
|
||||
|
||||
const accountOptions = []
|
||||
const accountIdAdded = new Set()
|
||||
for (const option of accountOptionMap.values()) {
|
||||
const info = await resolveAccountInfo(option.id, option.accountType)
|
||||
if (info && info.name) {
|
||||
if (accountIdAdded.has(option.id)) {
|
||||
continue
|
||||
}
|
||||
accountIdAdded.add(option.id)
|
||||
accountOptions.push({
|
||||
id: option.id,
|
||||
name: info.name,
|
||||
|
||||
Reference in New Issue
Block a user