From 4f5826a3336fffb9b33a04bd6bab007434f5dfb0 Mon Sep 17 00:00:00 2001 From: jackshenonly <5201632+jackshenonly@user.noreply.gitee.com> Date: Thu, 21 Sep 2023 01:29:14 +0000 Subject: [PATCH] =?UTF-8?q?update=20src/views/admin/user/form.vue.=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86-?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=B6=E4=B8=8D=E6=AD=A3=E7=A1=AE=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E3=80=82=E5=AF=B9=E5=BA=94pig=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=20issues=EF=BC=9A=20https://gitee.com/log4j/pig/issue?= =?UTF-8?q?s/I8339A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jackshenonly <5201632+jackshenonly@user.noreply.gitee.com> --- src/views/admin/user/form.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/admin/user/form.vue b/src/views/admin/user/form.vue index cc323968..a688ea48 100644 --- a/src/views/admin/user/form.vue +++ b/src/views/admin/user/form.vue @@ -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(); }; // 提交 -- Gitee