Skip to content

Commit 3b0a508

Browse files
committed
params flow id
1 parent 7acb966 commit 3b0a508

File tree

1 file changed

+4
-0
lines changed
  • web/packages/workflows/module/common/iframe

1 file changed

+4
-0
lines changed

web/packages/workflows/module/common/iframe/index.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,13 @@ export default {
4040
},
4141
methods: {
4242
getUrl() {
43+
let workspaceId = this.$route.query.workspaceId;
44+
let workFlowLists = JSON.parse(sessionStorage.getItem(`work_flow_lists_${workspaceId}`)) || [];
45+
const item = workFlowLists.find(it => (it.query && it.query.flowId == this.$route.query.flowId))
4346
const params = {
4447
nodeType: this.node.type,
4548
projectID: +this.$route.query.projectID,
49+
flowId: item && item.query.appId,
4650
params: {
4751
...this.node.jobContent,
4852
title: this.node.title,

0 commit comments

Comments
 (0)