From c6a30248077fa28b458702e80ebe92b202f6f755 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud <79562285+wangdan-fit2cloud@users.noreply.github.com> Date: Wed, 26 Feb 2025 14:53:22 +0800 Subject: [PATCH] fix: Resolve the issue of a function returning 0 as a result (#2389) --- ui/src/views/function-lib/component/FunctionDebugDrawer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/function-lib/component/FunctionDebugDrawer.vue b/ui/src/views/function-lib/component/FunctionDebugDrawer.vue index 78fbb650a..44856ac82 100644 --- a/ui/src/views/function-lib/component/FunctionDebugDrawer.vue +++ b/ui/src/views/function-lib/component/FunctionDebugDrawer.vue @@ -84,7 +84,7 @@ shadow="never" style="max-height: 350px; overflow: scroll" > - {{ result || '-' }} + {{ String(result) == '0' ? 0 : result || '-' }}