From 43d9ef7f6290010d640ff1f541b02e8a5df0dcc2 Mon Sep 17 00:00:00 2001 From: IanShaw027 <131567472+IanShaw027@users.noreply.github.com> Date: Sun, 4 Jan 2026 10:39:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20=E4=BF=AE=E6=AD=A3=20AI=20Stud?= =?UTF-8?q?io=20=E5=92=8C=20Client=20=E7=9A=84=E6=A0=87=E7=AD=BE=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - API Key 账户:显示「AI Studio」 - 自定义 OAuth Client 账户:显示「Client」 之前错误地将两者都显示为同一标签,现在已修正。 --- frontend/src/components/account/AccountQuotaInfo.vue | 4 ++-- frontend/src/components/account/AccountUsageCell.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/account/AccountQuotaInfo.vue b/frontend/src/components/account/AccountQuotaInfo.vue index 4bc91be3..520fb02a 100644 --- a/frontend/src/components/account/AccountQuotaInfo.vue +++ b/frontend/src/components/account/AccountQuotaInfo.vue @@ -90,8 +90,8 @@ const tierLabel = computed(() => { return tierMap[creds?.tier_id || ''] || 'Personal' } - // API Key: 显示 Client - return 'Client' + // API Key: 显示 AI Studio + return 'AI Studio' }) // Tier Badge 样式 diff --git a/frontend/src/components/account/AccountUsageCell.vue b/frontend/src/components/account/AccountUsageCell.vue index 1ce0f708..f3c2bfb1 100644 --- a/frontend/src/components/account/AccountUsageCell.vue +++ b/frontend/src/components/account/AccountUsageCell.vue @@ -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