This is an automated email from the ASF dual-hosted git repository.
journey pushed a commit to branch 1.3.2-release
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/1.3.2-release by this push:
new 98f5991 Click Cancel, the node data is restored to the original data
(#3278)
98f5991 is described below
commit 98f5991f1e5b8fdaffb6a1da54df13b1f5d790a4
Author: break60 <[email protected]>
AuthorDate: Wed Jul 22 19:38:24 2020 +0800
Click Cancel, the node data is restored to the original data (#3278)
---
.../home/pages/dag/_source/formModel/formModel.vue | 20 ++------------------
1 file changed, 2 insertions(+), 18 deletions(-)
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 5429327..9db5483 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
@@ -581,23 +581,7 @@
this.isContentBox = false
// flag Whether to delete a node this.$destroy()
this.$emit('close', {
- item: {
- type: this.cacheBackfillItem.type,
- id: this.cacheBackfillItem.id,
- name: this.cacheBackfillItem.name,
- params: this.cacheBackfillItem.params,
- description: this.cacheBackfillItem.description,
- runFlag: this.cacheBackfillItem.runFlag,
- conditionResult: this.cacheBackfillItem.conditionResult,
- dependence: this.cacheBackfillItem.dependence,
- maxRetryTimes: this.cacheBackfillItem.maxRetryTimes,
- retryInterval: this.cacheBackfillItem.retryInterval,
- timeout: this.cacheBackfillItem.timeout,
- taskInstancePriority: this.cacheBackfillItem.taskInstancePriority,
- workerGroup: this.cacheBackfillItem.workerGroup,
- status: this.cacheBackfillItem.status,
- branch: this.cacheBackfillItem.branch
- },
+ item: this.cacheBackfillItem,
flag: flag,
fromThis: this
})
@@ -671,7 +655,7 @@
} else {
this.workerGroup = this.store.state.security.workerGroupsListAll[0].id
}
- this.cacheBackfillItem = o
+ this.cacheBackfillItem = JSON.parse(JSON.stringify(o))
this.isContentBox = true
},
mounted () {