You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by le...@apache.org on 2020/06/17 10:38:29 UTC
[incubator-dolphinscheduler] branch 1.3.0-release updated: Fixed
selection of tenant value and defalut changed to lower case
This is an automated email from the ASF dual-hosted git repository.
leonbao pushed a commit to branch 1.3.0-release
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/1.3.0-release by this push:
new 969432c Fixed selection of tenant value and defalut changed to lower case
969432c is described below
commit 969432cc528b609055c093dc7724d1cd6a86dd96
Author: break60 <79...@qq.com>
AuthorDate: Fri Jun 5 11:52:33 2020 +0800
Fixed selection of tenant value and defalut changed to lower case
---
.../src/js/conf/home/pages/dag/_source/udp/udp.vue | 9 +++++----
dolphinscheduler-ui/src/js/conf/home/store/security/actions.js | 2 +-
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue
index cfbf5de..b9610cb 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue
+++ b/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 () {},
diff --git a/dolphinscheduler-ui/src/js/conf/home/store/security/actions.js b/dolphinscheduler-ui/src/js/conf/home/store/security/actions.js
index 94e8a69..d1d2389 100644
--- a/dolphinscheduler-ui/src/js/conf/home/store/security/actions.js
+++ b/dolphinscheduler-ui/src/js/conf/home/store/security/actions.js
@@ -282,7 +282,7 @@ export default {
const list = res.data
list.unshift({
id: -1,
- tenantName: 'Default'
+ tenantName: 'default'
})
state.tenantAllList = list
resolve(list)