From a07b3590e2eabdecc431c96aec77d18f192da2bb Mon Sep 17 00:00:00 2001 From: break60 <790061044@qq.com> Date: Thu, 2 Apr 2020 17:58:06 +0800 Subject: [PATCH] Fix the problem of data echo in script edit box --- .../js/conf/home/pages/dag/_source/formModel/tasks/python.vue | 3 +-- .../js/conf/home/pages/dag/_source/formModel/tasks/shell.vue | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue index 10cad6cb38..28fded41d3 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue @@ -161,8 +161,7 @@ resourceList: _.map(this.resourceList, v => { return {id: v} }), - localParams: this.localParams, - rawScript: editor ? editor.getValue() : '' + localParams: this.localParams } } }, diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/shell.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/shell.vue index 2be5f12809..bee095acd5 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/shell.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/shell.vue @@ -221,8 +221,7 @@ resourceList: _.map(this.resourceList, v => { return {id: v} }), - localParams: this.localParams, - rawScript: editor ? editor.getValue() : '' + localParams: this.localParams } } },