fix: correct tool_params reset logic in index.vue

--bug=1062838 --user=刘瑞斌 【应用】MCP 节点切换下一个参数引用上一个参数会被删除 https://www.tapd.cn/62980211/s/1788333
This commit is contained in:
CaptainB 2025-10-21 11:46:24 +08:00
parent c31142eeab
commit c8c26bb6d3

View File

@ -139,7 +139,7 @@
v-model="item.source"
size="small"
style="width: 85px"
@change="form_data.tool_params[form_data.params_nested] = {}; form_data.tool_params[form_data.params_nested][item.label.label] = ''"
@change="form_data.tool_params[form_data.params_nested][item.label.label] = ''"
>
<el-option
:label="$t('views.applicationWorkflow.nodes.replyNode.replyContent.reference')"