From be8c9734fc5c07fc6bfcf571039c8d200d06fcbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=80=9D?= <2897217417@qq.com> Date: Sat, 25 Jun 2022 08:36:37 +0800 Subject: [PATCH] =?UTF-8?q?glcc=E5=AD=A6=E7=94=9F=E6=8A=A5=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/glcc/home/index.jsx | 2 +- src/glcc/home/lightspot/index.jsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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"; }