diff --git a/src/common/components/layout/ChangePassword.tsx b/src/common/components/layout/ChangePassword.tsx index f2ba7dc..953c8d5 100644 --- a/src/common/components/layout/ChangePassword.tsx +++ b/src/common/components/layout/ChangePassword.tsx @@ -10,13 +10,13 @@ export default function ChangePassword({ setOpen: (open: boolean) => void; }) { return ( - + 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);