Skip to content

Commit

Permalink
!70 update src/views/admin/user/form.vue.
Browse files Browse the repository at this point in the history
Merge pull request !70 from jackshenonly/N/A
  • Loading branch information
lbw authored and gitee-org committed Sep 21, 2023
2 parents aa58d31 + 4f5826a commit 544f935
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/views/admin/user/form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -179,17 +179,17 @@ const openDialog = async (id: string) => {
dataFormRef.value?.resetFields();
});
// 修改获取用户信息
// 加载使用的数据
getDeptData();
getPostData();
getRoleData();
// 修改获取用户信息
if (id) {
dataForm.userId = id;
await getUserData(id);
dataForm.password = '******';
}
// 加载使用的数据
getDeptData();
getPostData();
getRoleData();
};
// 提交
Expand Down

0 comments on commit 544f935

Please sign in to comment.