From bb1ba967cdd0715bb83f69406e3c184fcecd4294 Mon Sep 17 00:00:00 2001 From: Amy0104 <97265214+Amy0104@users.noreply.github.com> Date: Thu, 10 Mar 2022 12:58:19 +0800 Subject: [PATCH] [Fix][UI Next][V1.0.0-Alpha] Fix tenant not exists error while import workflow. (#8797) --- .../views/projects/workflow/components/dag/dag-save-modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-save-modal.tsx b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-save-modal.tsx index b25ad7fa3a..f95fab6ee5 100644 --- a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-save-modal.tsx +++ b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-save-modal.tsx @@ -148,7 +148,7 @@ export default defineComponent({ if (process) { formValue.value.name = process.name formValue.value.description = process.description - formValue.value.tenantCode = process.tenantCode + formValue.value.tenantCode = process.tenantCode || 'default' if (process.timeout && process.timeout > 0) { formValue.value.timeoutFlag = true formValue.value.timeout = process.timeout