fix:更新
This commit is contained in:
parent
499ed1f979
commit
13d5ca8d11
@ -10,13 +10,13 @@ export default function ChangePassword({
|
||||
setOpen: (open: boolean) => void;
|
||||
}) {
|
||||
return (
|
||||
<ModalForm<ApiTypes.Auth.ChangePassword>
|
||||
<ModalForm<ApiTypes.Common.Auth.ChangePassword>
|
||||
open={open}
|
||||
wrapperCol={{ span: 24 }}
|
||||
width="500px"
|
||||
title="修改密码"
|
||||
onFinish={async (values) => {
|
||||
return Apis.Auth.ChangePassword(values)
|
||||
return Apis.Common.Auth.ChangePassword(values)
|
||||
.then(() => {
|
||||
message.success('修改密码成功');
|
||||
setOpen(false);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user