默认工具在菜单中不显示操作选项

This commit is contained in:
jingrow 2026-01-03 18:19:09 +08:00
parent d544701e13
commit 374e699949

View File

@ -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(