mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 00:53:33 +00:00
增加 API keys 批量编辑管理
This commit is contained in:
@@ -659,15 +659,8 @@ const batchUpdateApiKeys = async () => {
|
||||
|
||||
// 标签处理
|
||||
if (tagOperation.value !== 'none') {
|
||||
// 这里需要在后端实现标签操作逻辑,目前简化为直接替换
|
||||
if (tagOperation.value === 'replace') {
|
||||
updates.tags = form.tags
|
||||
}
|
||||
// TODO: 实现添加和移除标签的逻辑
|
||||
else if (tagOperation.value === 'add' || tagOperation.value === 'remove') {
|
||||
updates.tags = form.tags
|
||||
updates.tagOperation = tagOperation.value
|
||||
}
|
||||
updates.tags = form.tags
|
||||
updates.tagOperation = tagOperation.value
|
||||
}
|
||||
|
||||
const result = await apiClient.put('/admin/api-keys/batch', {
|
||||
|
||||
Reference in New Issue
Block a user