未验证 提交 dd7513d3 编写于 作者: X xingchun-chen 提交者: GitHub

Merge pull request #2902 from break60/dev-1.3.0

Fixed selection of tenant value and defalut changed to lower case
......@@ -205,12 +205,13 @@
this.syncDefine = dag.syncDefine
this.timeout = dag.timeout || 0
this.checkedTimeout = this.timeout !== 0
if (dag.tenantId === -1) {
this.$nextTick(() => {
if (dag.tenantId === -1) {
this.tenantId = this.store.state.user.userInfo.tenantId
} else {
} else {
this.tenantId = dag.tenantId
}
}
})
},
mounted () {},
......
......@@ -282,7 +282,7 @@ export default {
const list = res.data
list.unshift({
id: -1,
tenantName: 'Default'
tenantName: 'default'
})
state.tenantAllList = list
resolve(list)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册