mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:02:46 +00:00
feat: conditionally render form items based on feature flags
This commit is contained in:
parent
422dde8ba3
commit
584850b576
|
|
@ -414,7 +414,7 @@
|
|||
</div>
|
||||
</template>
|
||||
</div>
|
||||
<el-form-item @click.prevent>
|
||||
<el-form-item @click.prevent v-if="applicationForm.mcp_enable || applicationForm.tool_enable">
|
||||
<template #label>
|
||||
<div class="flex-between">
|
||||
<span class="mr-4">
|
||||
|
|
|
|||
|
|
@ -230,7 +230,7 @@
|
|||
</div>
|
||||
</template>
|
||||
</div>
|
||||
<el-form-item @click.prevent>
|
||||
<el-form-item @click.prevent v-if="chat_data.mcp_enable || chat_data.tool_enable">
|
||||
<template #label>
|
||||
<div class="flex-between">
|
||||
<span class="mr-4">
|
||||
|
|
|
|||
Loading…
Reference in New Issue