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

when init workflow, the tenantId linked by the tenantId of login user
This commit is contained in:
xingchun-chen 2020-05-27 16:52:31 +08:00 committed by GitHub
commit fa9706f63a
1 changed files with 7 additions and 1 deletions

View File

@ -205,7 +205,13 @@
this.syncDefine = dag.syncDefine
this.timeout = dag.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 () {},
components: {FormTenant, mLocalParams }