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)