|
|
|
@ -32,7 +32,8 @@ class GraduationTasksappraiseMainEditor extends Component{
|
|
|
|
|
return item.response ? item.response.id : item.id
|
|
|
|
|
})
|
|
|
|
|
const comment = this.mdRef.current.getValue()
|
|
|
|
|
if ((!comment || comment.trim() == "") && !score &&this.props.isAdmin()===true) {
|
|
|
|
|
|
|
|
|
|
if ((!comment || comment.trim() == "") && !score &&this.props.isAdmin()===true&&comment!=0&&comment!=0.0) {
|
|
|
|
|
this.setState( {errorMessage : '分数和评语不能同时为空' })
|
|
|
|
|
// this.props.showNotification('请先输入评阅说明')
|
|
|
|
|
return;
|
|
|
|
|