fixed: 新密码不如入不提示的问题.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user