提交 512e7c1f 编写于 作者: Z zhukai 提交者: qiaozhanwei

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

上级 0b272f9c
......@@ -513,7 +513,8 @@
this.workerGroupId = o.workerGroupId
}
this.params = o.params || {};
this.params = o.params || {}
this.dependence = o.dependence || {}
}
this.isContentBox = true
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册