Browse Source

Fix the bug `Edit User Info will always shows failed.` (#5627)

* Update createUser.vue

* Update createUser.vue
2.0.7-release
kyoty 3 years ago committed by GitHub
parent
commit
0a5670f195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue

6
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) {

Loading…
Cancel
Save