Skip to content

Commit c8c26bb

Browse files
committed
fix: correct tool_params reset logic in index.vue
--bug=1062838 --user=刘瑞斌 【应用】MCP 节点切换下一个参数引用上一个参数会被删除 https://www.tapd.cn/62980211/s/1788333
1 parent c31142e commit c8c26bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/workflow/nodes/mcp-node/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
v-model="item.source"
140140
size="small"
141141
style="width: 85px"
142-
@change="form_data.tool_params[form_data.params_nested] = {}; form_data.tool_params[form_data.params_nested][item.label.label] = ''"
142+
@change="form_data.tool_params[form_data.params_nested][item.label.label] = ''"
143143
>
144144
<el-option
145145
:label="$t('views.applicationWorkflow.nodes.replyNode.replyContent.reference')"

0 commit comments

Comments
 (0)