提交 f19f10b4 作者: ZhangLingKun

功能:跳转问题修复

上级 4cc0f17b
......@@ -166,7 +166,12 @@ const LoginModalView = ({
// 跳转注册页面
const handleSignup = async () => {
await router.push('/user/signup');
handleClose();
// 关闭弹窗
onCancel?.();
// 关闭定时器
if (timer) clearInterval(timer);
// 复原状态
dispatch(setGlobalData({ loginModalBack: false }));
};
// 打开协议弹窗
const handleAgree = (type: number) => {
......@@ -244,7 +249,7 @@ const LoginModalView = ({
</Form.Item>
</Form>
<div className="forget flex w-full justify-end">
<Button className="action" type="link">
<Button className="action invisible" type="link">
忘记密码
</Button>
</div>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论