Browse Source

fix bug, add the cache logic in getInstancedetail. (#1814)

pull/2/head
zhukai 5 years ago committed by qiaozhanwei
parent
commit
512e7c1f6a
  1. 3
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
  2. 5
      dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js

3
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue

@ -513,7 +513,8 @@
this.workerGroupId = o.workerGroupId
}
this.params = o.params || {};
this.params = o.params || {}
this.dependence = o.dependence || {}
}
this.isContentBox = true

5
dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js

@ -147,6 +147,11 @@ export default {
let processInstanceJson = JSON.parse(res.data.processInstanceJson)
// tasks info
state.tasks = processInstanceJson.tasks
// tasks cache
state.cacheTasks = {}
processInstanceJson.tasks.forEach(v => {
state.cacheTasks[v.id] = v
})
// global params
state.globalParams = processInstanceJson.globalParams
// timeout

Loading…
Cancel
Save