From 1bafb1ae4c6cef9d2f6189382d549044ef4eaa50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=80=9D?= <2897217417@qq.com> Date: Thu, 17 Apr 2025 14:09:24 +0800 Subject: [PATCH] fix --- src/glcc/home/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glcc/home/index.jsx b/src/glcc/home/index.jsx index 374991354..4ee06f85b 100644 --- a/src/glcc/home/index.jsx +++ b/src/glcc/home/index.jsx @@ -24,7 +24,7 @@ import './index.scss'; // period: 项目报名阶段("repoApply") // match:{params:{id=2023}} 注意默认值记得每届修改 export default (props) => { - const { current_user, history, round, match:{params:{id=2024}}, period, showLoginDialog, glccSettings, repoPublic, showMatchingBut, isResultPublic, hasRole, isMediumExamineByToTutor, isFinalExamineByToTutor, checkedTaskId, mediumExaminationPass} = props; + const { current_user, history, round, match:{params:{id=yearByRound[currentRound]}}, period, showLoginDialog, glccSettings, repoPublic, showMatchingBut, isResultPublic, hasRole, isMediumExamineByToTutor, isFinalExamineByToTutor, checkedTaskId, mediumExaminationPass} = props; useEffect(() => { if (!current_user.user_id) { history.push('/403');