From b68006e32f7a1f90f1523dda0a033f3a84662d03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A6=BA=E7=8B=A8?= <18119604035@163.com>
Date: Thu, 20 Apr 2023 09:36:22 +0800
Subject: [PATCH 01/14] =?UTF-8?q?=E7=99=BB=E5=BD=95=E8=B7=B3=E8=BD=AC?=
=?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BB=84=E4=BB=B6=E7=BC=93=E5=AD=98=E4=BC=98?=
=?UTF-8?q?=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/login/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pages/login/index.tsx b/src/pages/login/index.tsx
index b472b6b..5a7d043 100644
--- a/src/pages/login/index.tsx
+++ b/src/pages/login/index.tsx
@@ -86,7 +86,7 @@ const LoginPage: React.FC = () => {
const data = res.data;
dispatch(loginAction(data));
setLoading(false);
- navigate("/");
+ navigate("/", { replace: true });
});
};
From bebe5aa6f500bb84c35a70e3194bb19bf67637d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A6=BA=E7=8B=A8?= <18119604035@163.com>
Date: Sun, 23 Apr 2023 09:34:30 +0800
Subject: [PATCH 02/14] =?UTF-8?q?=E6=9C=80=E8=BF=91=E5=AD=A6=E4=B9=A0?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/latest-learn/index.tsx | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/src/pages/latest-learn/index.tsx b/src/pages/latest-learn/index.tsx
index 6df6a91..412131e 100644
--- a/src/pages/latest-learn/index.tsx
+++ b/src/pages/latest-learn/index.tsx
@@ -55,13 +55,15 @@ const LatestLearnPage = () => {
navigate(`/course/${item.course.id}`);
}}
>
-