fix: remove MCP tool type restriction from copy and export permissions
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run

This commit is contained in:
CaptainB 2025-12-03 11:57:23 +08:00
parent 842b4ddc85
commit 13b1525806

View File

@ -272,8 +272,7 @@
<el-dropdown-item
v-if="
!item.template_id &&
permissionPrecise.copy(item.id) &&
item.tool_type !== 'MCP'
permissionPrecise.copy(item.id)
"
@click.stop="copyTool(item)"
>
@ -316,8 +315,7 @@
<el-dropdown-item
v-if="
!item.template_id &&
permissionPrecise.export(item.id) &&
item.tool_type !== 'MCP'
permissionPrecise.export(item.id)
"
@click.stop="exportTool(item)"
>