refactor(frontend): 优化管理后台视图

- 改进 AliasManagement, ApiKeys, AuditLogs, CacheMonitoring, ModelManagement, SystemSettings, Users 页面
This commit is contained in:
fawney19
2025-12-12 20:22:15 +08:00
parent 36a84e19b4
commit 15b4f665d1
7 changed files with 33 additions and 71 deletions

View File

@@ -252,6 +252,7 @@ import {
} from '@/api/endpoints/aliases'
import { listGlobalModels, type GlobalModelResponse } from '@/api/global-models'
import { getProvidersSummary } from '@/api/endpoints/providers'
import { log } from '@/utils/logger'
const { success, error: showError } = useToast()
const { confirmDanger } = useConfirm()
@@ -332,7 +333,7 @@ async function loadGlobalModelsList() {
const response = await listGlobalModels()
globalModels.value = response.models || []
} catch (err: any) {
console.error('加载模型失败:', err)
log.error('加载模型失败:', err)
}
}