From a1df0ee99c83970d78a42de450ef16266c174aab Mon Sep 17 00:00:00 2001 From: Amy0104 <97265214+Amy0104@users.noreply.github.com> Date: Wed, 20 Apr 2022 16:11:45 +0800 Subject: [PATCH] [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