From 374e6999498360edae59f7c17d74dfae71b21a44 Mon Sep 17 00:00:00 2001 From: jingrow Date: Sat, 3 Jan 2026 18:19:09 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=B7=A5=E5=85=B7=E5=9C=A8?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E4=B8=AD=E4=B8=8D=E6=98=BE=E7=A4=BA=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Tools.vue | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/views/Tools.vue b/src/views/Tools.vue index 405d017..22c8369 100644 --- a/src/views/Tools.vue +++ b/src/views/Tools.vue @@ -375,12 +375,7 @@ function getToolMenuOptions(tool: Tool): DropdownOption[] { const options: DropdownOption[] = [] if (tool.isDefault) { - // 默认工具:只显示"删除"选项 - options.push({ - label: t('Delete'), - key: 'delete', - icon: () => h('i', { class: 'fa fa-trash' }) - }) + return [] } else { // 用户工具:显示"编辑"和"删除"选项 options.push(