fix(frontend): 修正 AI Studio 和 Client 的标签显示
- API Key 账户:显示「AI Studio」 - 自定义 OAuth Client 账户:显示「Client」 之前错误地将两者都显示为同一标签,现在已修正。
This commit is contained in:
@@ -606,8 +606,8 @@ const geminiAuthTypeLabel = computed(() => {
|
||||
const tierLabel = geminiTier.value ? tierMap[geminiTier.value] || 'Free' : 'Free'
|
||||
return `GCP ${tierLabel}`
|
||||
} else if (oauthType === 'ai_studio') {
|
||||
// AI Studio: just show "AI Studio" (no tier)
|
||||
return 'AI Studio'
|
||||
// 自定义 OAuth Client: show "Client" (no tier)
|
||||
return 'Client'
|
||||
}
|
||||
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user