From 15b2b1c0ece93a54bc67f913b1682038b34abd71 Mon Sep 17 00:00:00 2001 From: wen-hemin <39549317+wen-hemin@users.noreply.github.com> Date: Tue, 30 Mar 2021 14:28:08 +0800 Subject: [PATCH] [FixBug][Jsonsplit] When to save process definition, upload task code field #4417 (#5178) * fix: task page, rename "description" to "desc" * fix: The default value of field dependence is null. * fix: frontend compile check * fix: When create process, the version button is set to unavailable * fix: sql condition bug * fix: When to save process definition, upload task code field Co-authored-by: wen-hemin --- .../src/js/conf/home/pages/dag/_source/formModel/formModel.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue index 3f60abaab..7dfcbc62b 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue @@ -693,6 +693,7 @@ } // Non-null objects represent backfill if (!_.isEmpty(o)) { + this.code = o.code this.name = o.name this.taskInstancePriority = o.taskInstancePriority this.runFlag = o.runFlag || 'NORMAL' @@ -766,6 +767,7 @@ return { type: this.nodeData.taskType, id: this.nodeData.id, + code: this.code, name: this.name, desc: this.desc, runFlag: this.runFlag, -- GitLab