Skip to content

Commit

Permalink
fix: 管理员修改用户问题修复
Browse files Browse the repository at this point in the history
  • Loading branch information
wangdan-fit2cloud committed Mar 25, 2024
1 parent 8b8fc2c commit b363327
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ui/src/views/user-manage/component/UserDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,12 @@ watch(dialogVisible, (bool) => {
const open = (data: any) => {
if (data) {
userForm.value = cloneDeep(data)
userForm.value['id'] = data.id
userForm.value.username = data.username
userForm.value.email = data.email
userForm.value.password = data.password
userForm.value.phone = data.phone
userForm.value.nick_name = data.nick_name
isEdit.value = true
}
dialogVisible.value = true
Expand Down

0 comments on commit b363327

Please sign in to comment.