From 9b7a92ce6c6e0696013babfd3337a63308defd6a Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Mon, 30 Nov 2026 15:59:56 +0800 Subject: [PATCH] fix: preserve zero and false in tool execution results --- ui/src/workflow-canvas/nodes/tool-custom-node/details/index.vue | 2 +- ui/src/workflow-canvas/nodes/tool-lib-node/details/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/workflow-canvas/nodes/tool-custom-node/details/index.vue b/ui/src/workflow-canvas/nodes/tool-custom-node/details/index.vue index 51d3a237849..2f2b4707574 100644 --- a/ui/src/workflow-canvas/nodes/tool-custom-node/details/index.vue +++ b/ui/src/workflow-canvas/nodes/tool-custom-node/details/index.vue @@ -31,7 +31,7 @@ defineProps<{
{{ t('execution.details.output') }}
- {{ data.result || '-' }} + {{ data.result == null || data.result === '' ? '-' : data.result }}
diff --git a/ui/src/workflow-canvas/nodes/tool-lib-node/details/index.vue b/ui/src/workflow-canvas/nodes/tool-lib-node/details/index.vue index 2b8fe7c883c..53b7850ac10 100644 --- a/ui/src/workflow-canvas/nodes/tool-lib-node/details/index.vue +++ b/ui/src/workflow-canvas/nodes/tool-lib-node/details/index.vue @@ -29,7 +29,7 @@ defineProps<{
{{ t('execution.details.output') }}
- {{ data.result || '-' }} + {{ data.result == null || data.result === '' ? '-' : data.result }}