diff --git a/src/glcc/home/index.jsx b/src/glcc/home/index.jsx index fa7d78c7..656548be 100644 --- a/src/glcc/home/index.jsx +++ b/src/glcc/home/index.jsx @@ -118,7 +118,7 @@ export default (props) => { - + diff --git a/src/glcc/home/lightspot/index.jsx b/src/glcc/home/lightspot/index.jsx index ca240cdf..aa2daec0 100644 --- a/src/glcc/home/lightspot/index.jsx +++ b/src/glcc/home/lightspot/index.jsx @@ -12,7 +12,7 @@ import { Link } from 'react-router-dom'; function Lightspot(props) { - const {current_user, isGlccApplyDate, showNotification, studentApplyStart} = props; + const {current_user, isGlccApplyDate, showNotification, studentApplyStart, studentApplyEnd} = props; function goToApply(){ if(isGlccApplyDate){ @@ -31,6 +31,8 @@ function Lightspot(props) { // 学生报名时间 if(!studentApplyStart){ showNotification("不在报名时间,报名开始时间为5月26日"); + } else if(studentApplyEnd) { + showNotification("课题申请时间已截止"); }else{ window.location.href="/glcc/subjects"; }