Skip to content

Commit c6a3024

Browse files
fix: Resolve the issue of a function returning 0 as a result (#2389)
1 parent 62ab02e commit c6a3024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/views/function-lib/component/FunctionDebugDrawer.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
shadow="never"
8585
style="max-height: 350px; overflow: scroll"
8686
>
87-
{{ result || '-' }}
87+
{{ String(result) == '0' ? 0 : result || '-' }}
8888
</el-card>
8989
</div>
9090
</div>

0 commit comments

Comments
 (0)