From c46aebb5cf64f8b654039d7dae5cb12d39c92c3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=9C=E9=B8=9F=E7=94=9F=E4=BA=A7?= Date: Wed, 18 Mar 2026 11:32:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E5=90=8E=E6=97=A0=E6=B3=95=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/VERSION | 6 +++--- frontend/src/pages/Login.jsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/VERSION b/config/VERSION index 33142b5..7595223 100644 --- a/config/VERSION +++ b/config/VERSION @@ -2,13 +2,13 @@ # Version Configuration for Zodiac Collection Management System # 当前版本号 (语义化版本:主版本。次版本.修订版) -VERSION=1.0.1 +VERSION=1.0.3 # 版本代号 (可选) VERSION_CODENAME="新生" # 发布日期 -RELEASE_DATE=2026-03-16 +RELEASE_DATE=2026-03-18 # 版本说明 -VERSION_NOTES="Logo 显示修复 + 图片代理修复" +VERSION_NOTES="登录跳转修复" diff --git a/frontend/src/pages/Login.jsx b/frontend/src/pages/Login.jsx index add872b..1d175ee 100644 --- a/frontend/src/pages/Login.jsx +++ b/frontend/src/pages/Login.jsx @@ -134,7 +134,7 @@ export default function Login() { console.log('用户信息已保存') // 强制刷新页面,确保 React 状态更新 - window.location.href = window.location.origin + window.location.pathname + '#/' + window.location.href = '/' console.log('跳转首页') } catch (err) { console.error('登录错误:', err)