diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue index e53128b23eaab706647294549ee409b7a7e1f17b..eed178787be879e39afae4b6deeabc34d5ae5662 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue @@ -292,8 +292,9 @@ this.userPassword = '' this.email = this.item.email this.phone = this.item.phone + this.state = this.item.state this.userState = this.item.state + '' || '1' - if (this.item.tenantId) { + if (this.item.tenantId === 0 || this.item.tenantId) { this.tenantId = this.item.tenantId } this.$nextTick(() => { @@ -310,8 +311,9 @@ this.userPassword = '' this.email = this.item.email this.phone = this.item.phone + this.state = this.item.state this.userState = this.state + '' || '1' - if (this.item.tenantId) { + if (this.item.tenantId === 0 || this.item.tenantId) { this.tenantId = this.item.tenantId } if (this.queueList.length > 0) {