mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: refine visibility condition for form item based on tool permissions
This commit is contained in:
parent
f82fa8a6fa
commit
75531b671c
|
|
@ -435,7 +435,7 @@
|
|||
</div>
|
||||
<el-form-item
|
||||
@click.prevent
|
||||
v-if="applicationForm.mcp_enable || applicationForm.tool_enable"
|
||||
v-if="(applicationForm.mcp_enable || applicationForm.tool_enable) && toolPermissionPrecise.read()"
|
||||
>
|
||||
<template #label>
|
||||
<div class="flex-between">
|
||||
|
|
|
|||
Loading…
Reference in New Issue