You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by so...@apache.org on 2022/04/20 08:11:50 UTC

[dolphinscheduler] branch dev updated: [Fix][UI] Fix the udf function echoed error in the sql task. (#9616)

This is an automated email from the ASF dual-hosted git repository.

songjian pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new a1df0ee99c [Fix][UI] Fix the udf function echoed error in the sql task. (#9616)
a1df0ee99c is described below

commit a1df0ee99c83970d78a42de450ef16266c174aab
Author: Amy0104 <97...@users.noreply.github.com>
AuthorDate: Wed Apr 20 16:11:45 2022 +0800

    [Fix][UI] Fix the udf function echoed error in the sql task. (#9616)
---
 .../src/views/projects/task/components/node/fields/use-udfs.ts          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-udfs.ts b/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-udfs.ts
index 1fb0f549cb..6ac9712718 100644
--- a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-udfs.ts
+++ b/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-udfs.ts
@@ -30,7 +30,7 @@ export function useUdfs(model: { [field: string]: any }): IJsonItem {
     loading.value = true
     const res = await queryUdfFuncList({ type: model.type })
     options.value = res.map((udf: { id: number; funcName: string }) => ({
-      value: udf.id,
+      value: String(udf.id),
       label: udf.funcName
     }))
     loading.value = false