From 802c36072c82f28751ca6adbb9b2eb29e7f7bddb Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 9 May 2026 19:22:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=8E=88=E6=9D=83?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=8D=A1=E7=B1=BB=E9=80=89=E9=A1=B9=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=A9=BA=E6=8B=AC=E5=8F=B7=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 只有当 billing_type 有值时才显示括号内容 - 将"卡类权限"标签改为"选择卡类",更清晰 - 添加 selectCardTypePlaceholder 翻译 Co-Authored-By: Claude Opus 4.7 --- frontend/src/pages/admin/agent-apps/[id].vue | 8 ++++---- frontend/src/pages/admin/agent-apps/create.vue | 8 ++++---- frontend/src/plugins/i18n/en.json | 1 + frontend/src/plugins/i18n/zh.json | 1 + 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/frontend/src/pages/admin/agent-apps/[id].vue b/frontend/src/pages/admin/agent-apps/[id].vue index b02780b..cbace2f 100644 --- a/frontend/src/pages/admin/agent-apps/[id].vue +++ b/frontend/src/pages/admin/agent-apps/[id].vue @@ -269,16 +269,16 @@ onMounted(() => {
- {{ t('admin.agentApps.createForm.cardPermission') }} * + {{ t('admin.agentApps.createForm.selectCardType') }} *
- + - {{ ct.name }} ({{ ct.billing_type }}) + {{ ct.name }} @@ -293,7 +293,7 @@ onMounted(() => {
{{ p.card_type_name }}
-
{{ p.billing_type }}
+
{{ p.billing_type }}
diff --git a/frontend/src/pages/admin/agent-apps/create.vue b/frontend/src/pages/admin/agent-apps/create.vue index 83040c7..d95b225 100644 --- a/frontend/src/pages/admin/agent-apps/create.vue +++ b/frontend/src/pages/admin/agent-apps/create.vue @@ -232,16 +232,16 @@ onMounted(() => {
- {{ t('admin.agentApps.createForm.cardPermission') }} * + {{ t('admin.agentApps.createForm.selectCardType') }} *
- + - {{ ct.name }} ({{ ct.billing_type }}) + {{ ct.name }} @@ -256,7 +256,7 @@ onMounted(() => {
{{ p.card_type_name }}
-
{{ p.billing_type }}
+
{{ p.billing_type }}
diff --git a/frontend/src/plugins/i18n/en.json b/frontend/src/plugins/i18n/en.json index 6a927a2..e62b1cf 100644 --- a/frontend/src/plugins/i18n/en.json +++ b/frontend/src/plugins/i18n/en.json @@ -1717,6 +1717,7 @@ "selectAppPlaceholder": "Please select an application", "cardPermission": "Card Type Permissions", "selectCardType": "Select Card Type", + "selectCardTypePlaceholder": "Please select a card type", "addCardType": "Add", "cardTypeList": "Authorized Card Types", "cardTypeName": "Card Type Name", diff --git a/frontend/src/plugins/i18n/zh.json b/frontend/src/plugins/i18n/zh.json index 3e103e7..ded9cfa 100644 --- a/frontend/src/plugins/i18n/zh.json +++ b/frontend/src/plugins/i18n/zh.json @@ -1706,6 +1706,7 @@ "selectAppPlaceholder": "请选择应用", "cardPermission": "卡类权限", "selectCardType": "选择卡类", + "selectCardTypePlaceholder": "请选择卡类", "addCardType": "添加", "cardTypeList": "已授权卡类", "cardTypeName": "卡类名称",