Browse Source

Fixed selection of tenant value and defalut changed to lower case

pull/3/MERGE
break60 5 years ago committed by gaojun2048
parent
commit
37fae4b920
  1. 9
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue
  2. 2
      dolphinscheduler-ui/src/js/conf/home/store/security/actions.js

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

@ -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 () {},

2
dolphinscheduler-ui/src/js/conf/home/store/security/actions.js

@ -282,7 +282,7 @@ export default {
let list=res.data
list.unshift({
id: -1,
tenantName: 'Default'
tenantName: 'default'
})
state.tenantAllList = list
resolve(list)

Loading…
Cancel
Save