diff --git a/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js b/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js index 411855491..a78acae05 100644 --- a/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js +++ b/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js @@ -361,6 +361,8 @@ class Trainingjobsetting extends Component { return; } else { // 补交结束时间不能早于截止时间 + if(!this.state.flagPageEditsfor ===false){ + if (moment(this.state.late_time, "YYYY-MM-DD HH:mm") <= moment()) { //结束时间小于当前时间 @@ -396,8 +398,7 @@ class Trainingjobsetting extends Component { }) return; } - - + } } } @@ -1946,7 +1947,7 @@ class Trainingjobsetting extends Component { ` } -