feat: conditionally render form items based on feature flags

v3.2
CaptainB 2025-09-15 14:01:07 +08:00 committed by 刘瑞斌
parent 422dde8ba3
commit 584850b576
2 changed files with 2 additions and 2 deletions

View File

@ -414,7 +414,7 @@
</div> </div>
</template> </template>
</div> </div>
<el-form-item @click.prevent> <el-form-item @click.prevent v-if="applicationForm.mcp_enable || applicationForm.tool_enable">
<template #label> <template #label>
<div class="flex-between"> <div class="flex-between">
<span class="mr-4"> <span class="mr-4">

View File

@ -230,7 +230,7 @@
</div> </div>
</template> </template>
</div> </div>
<el-form-item @click.prevent> <el-form-item @click.prevent v-if="chat_data.mcp_enable || chat_data.tool_enable">
<template #label> <template #label>
<div class="flex-between"> <div class="flex-between">
<span class="mr-4"> <span class="mr-4">