From b98cd1bd7299d0f9f5952abdc83cdb3de441b554 Mon Sep 17 00:00:00 2001 From: Ocetars Date: Wed, 3 Dec 2025 18:09:12 +0800 Subject: [PATCH] =?UTF-8?q?style(command):=20=E4=BC=98=E5=8C=96=E6=8C=87?= =?UTF-8?q?=E4=BB=A4=E7=BB=84=E5=AD=90=E6=8C=87=E4=BB=A4=E6=95=B0=E9=87=8F?= =?UTF-8?q?=E6=98=BE=E7=A4=BAUI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/i18n/locales/en-US/features/command.json | 1 - .../src/i18n/locales/zh-CN/features/command.json | 1 - dashboard/src/views/CommandPage.vue | 11 +---------- 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/dashboard/src/i18n/locales/en-US/features/command.json b/dashboard/src/i18n/locales/en-US/features/command.json index 35e1e3b3d..57af8f35c 100644 --- a/dashboard/src/i18n/locales/en-US/features/command.json +++ b/dashboard/src/i18n/locales/en-US/features/command.json @@ -26,7 +26,6 @@ "group": "Group", "subCommand": "Sub-command" }, - "subCommandCount": "sub-commands", "status": { "enabled": "Enabled", "disabled": "Disabled", diff --git a/dashboard/src/i18n/locales/zh-CN/features/command.json b/dashboard/src/i18n/locales/zh-CN/features/command.json index 325e8a2b8..989dd18c3 100644 --- a/dashboard/src/i18n/locales/zh-CN/features/command.json +++ b/dashboard/src/i18n/locales/zh-CN/features/command.json @@ -26,7 +26,6 @@ "group": "指令组", "subCommand": "子指令" }, - "subCommandCount": "个子指令", "status": { "enabled": "已启用", "disabled": "已禁用", diff --git a/dashboard/src/views/CommandPage.vue b/dashboard/src/views/CommandPage.vue index 139250548..33326c327 100644 --- a/dashboard/src/views/CommandPage.vue +++ b/dashboard/src/views/CommandPage.vue @@ -488,15 +488,6 @@ onMounted(async () => {
{{ item.effective_command }} - - {{ item.sub_commands.length }} {{ tm('subCommandCount') }} -
@@ -509,7 +500,7 @@ onMounted(async () => { variant="tonal" > {{ getTypeInfo(item.type).icon }} - {{ getTypeInfo(item.type).text }} + {{ getTypeInfo(item.type).text }}{{ item.is_group && item.sub_commands?.length > 0 ? `(${item.sub_commands.length})` : '' }}