Commit 43d9ef7f authored by IanShaw027's avatar IanShaw027
Browse files

fix(frontend): 修正 AI Studio 和 Client 的标签显示

- API Key 账户:显示「AI Studio」
- 自定义 OAuth Client 账户:显示「Client」

之前错误地将两者都显示为同一标签,现在已修正。
parent 482bc289
...@@ -90,8 +90,8 @@ const tierLabel = computed(() => { ...@@ -90,8 +90,8 @@ const tierLabel = computed(() => {
return tierMap[creds?.tier_id || ''] || 'Personal' return tierMap[creds?.tier_id || ''] || 'Personal'
} }
// API Key: 显示 Client // API Key: 显示 AI Studio
return 'Client' return 'AI Studio'
}) })
// Tier Badge 样式 // Tier Badge 样式
......
...@@ -606,8 +606,8 @@ const geminiAuthTypeLabel = computed(() => { ...@@ -606,8 +606,8 @@ const geminiAuthTypeLabel = computed(() => {
const tierLabel = geminiTier.value ? tierMap[geminiTier.value] || 'Free' : 'Free' const tierLabel = geminiTier.value ? tierMap[geminiTier.value] || 'Free' : 'Free'
return `GCP ${tierLabel}` return `GCP ${tierLabel}`
} else if (oauthType === 'ai_studio') { } else if (oauthType === 'ai_studio') {
// AI Studio: just show "AI Studio" (no tier) // 自定义 OAuth Client: show "Client" (no tier)
return 'AI Studio' return 'Client'
} }
return null return null
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment