Browse Source

fix

pull/3/MERGE
break60 4 years ago
parent
commit
80c5c66ce9
  1. 8
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/jsPlumbHandle.js

8
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/jsPlumbHandle.js

@ -632,10 +632,10 @@ JSP.prototype.saveStore = function () {
// task // task
_.map(_.cloneDeep(store.state.dag.tasks), v => { _.map(_.cloneDeep(store.state.dag.tasks), v => {
if (is(v.id)) { if (is(v.id)) {
const preTasks = [] let preTasks = []
const id = $(`#${v.id}`) let id = $(`#${v.id}`)
const tar = id.attr('data-targetarr') let tar = id.attr('data-targetarr')
const idDep = tar ? id.attr('data-targetarr').split(',') : [] let idDep = tar ? id.attr('data-targetarr').split(',') : []
if (idDep.length) { if (idDep.length) {
_.map(idDep, v1 => { _.map(idDep, v1 => {
preTasks.push($(`#${v1}`).find('.name-p').text()) preTasks.push($(`#${v1}`).find('.name-p').text())

Loading…
Cancel
Save