From 3a7818dc9ed2af6d8c81471f0fea54052357f404 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Fri, 5 Dec 2025 15:06:15 +0800 Subject: [PATCH] fix: Clicking on the website data source cannot open the data source settings interface (#4446) --- .../views/knowledge-workflow/component/action/DataSource.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/src/views/knowledge-workflow/component/action/DataSource.vue b/ui/src/views/knowledge-workflow/component/action/DataSource.vue index 604ac8098..afdbde60f 100644 --- a/ui/src/views/knowledge-workflow/component/action/DataSource.vue +++ b/ui/src/views/knowledge-workflow/component/action/DataSource.vue @@ -111,7 +111,9 @@ provide('get_extra', get_extra) const sourceChange = (node_id: string) => { base_form_data.value.node_id = node_id const n = source_node_list.value.find((n: any) => n.id == node_id) - extra.value.current_tool_id = n.properties.node_data.tool_lib_id + if (n.properties.node_data && n.properties.node_data.tool_lib_id) { + extra.value.current_tool_id = n.properties.node_data.tool_lib_id + } node_id = n ? [WorkflowType.DataSourceLocalNode, WorkflowType.DataSourceWebNode].includes(n.type) ? n.type