Browse Source

Merge pull request #2825 from Eights-Li/dev-1.3.0

when init workflow, the tenantId linked by the tenantId of login user
pull/3/MERGE
xingchun-chen 5 years ago committed by GitHub
parent
commit
fa9706f63a
  1. 8
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue

8
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue

@ -205,7 +205,13 @@
this.syncDefine = dag.syncDefine this.syncDefine = dag.syncDefine
this.timeout = dag.timeout || 0 this.timeout = dag.timeout || 0
this.checkedTimeout = this.timeout !== 0 this.checkedTimeout = this.timeout !== 0
this.tenantId = dag.tenantId || -1
if (dag.tenantId === -1) {
this.tenantId = this.store.state.user.userInfo.tenantId
} else {
this.tenantId = dag.tenantId
}
}, },
mounted () {}, mounted () {},
components: {FormTenant, mLocalParams } components: {FormTenant, mLocalParams }

Loading…
Cancel
Save