未验证 提交 0a5670f1 编写于 作者: K kyoty 提交者: GitHub

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

* Update createUser.vue

* Update createUser.vue
上级 67711442
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册