diff --git a/public/react/src/modules/courses/graduation/tasks/GraduationTasksappraiseMainEditor.js b/public/react/src/modules/courses/graduation/tasks/GraduationTasksappraiseMainEditor.js index 5616260f0..faf0d67a4 100644 --- a/public/react/src/modules/courses/graduation/tasks/GraduationTasksappraiseMainEditor.js +++ b/public/react/src/modules/courses/graduation/tasks/GraduationTasksappraiseMainEditor.js @@ -38,7 +38,7 @@ class GraduationTasksappraiseMainEditor extends Component{ // this.props.showNotification('请先输入评阅说明') return; } - if (!score && this.props.isAdmin()===false) { + if (!score && this.props.isAdmin()===false &&this.props.isAdmin()===true&&comment!=0&&comment!=0.0) { this.setState( { errorMessage : '分数不能为空', errorMessagetype:true