fixed: 新密码不如入不提示的问题.

This commit is contained in:
lijiahang
2023-10-12 17:17:16 +08:00
parent c9e7cb07a0
commit 95f17bc527
9 changed files with 72 additions and 35 deletions

View File

@@ -118,7 +118,7 @@
}
if (isAddHandle.value) {
// 新增
await createUser({ ...formModel, password: md5(formModel.value.password as string) });
await createUser({ ...formModel.value, password: md5(formModel.value.password as string) });
Message.success('创建成功');
emits('added');
} else {