diff --git a/apps/web/src/pages/auth/ResetPassword.tsx b/apps/web/src/pages/auth/ResetPassword.tsx index 0591c6552..8370ea316 100644 --- a/apps/web/src/pages/auth/ResetPassword.tsx +++ b/apps/web/src/pages/auth/ResetPassword.tsx @@ -1,8 +1,8 @@ /** - * 重置密码页面 + * 重置密码页面 - V21 完全对标 */ import React from 'react'; -import { Form, Input, Button, Card, message, Result } from 'antd'; +import { Form, Input, Button, Result, message } from 'antd'; import { LockOutlined } from '@ant-design/icons'; import { Link, useSearchParams, useNavigate } from 'react-router-dom'; import { useMutation } from '@tanstack/react-query'; @@ -32,8 +32,8 @@ const ResetPassword: React.FC = () => { if (!token) { return ( -
- +
+
{ , ]} /> - +
); } if (resetMutation.isSuccess) { return ( -
- +
+
{ , ]} /> - +
); } return ( -
- -
+
+
+
+
🦐
+

小虾自动剪辑

+

设置新密码

+
+ + { }, ]} > - } placeholder="新密码" /> + } + placeholder="•••••••••" + size="large" + /> { }), ]} > - } placeholder="确认新密码" /> + } + placeholder="•••••••••" + size="large" + /> - + {resetMutation.isPending ? '重置中...' : '重置密码'} + -
+
返回登录
- +
); };