diff --git a/public/react/src/modules/courses/shixunHomework/Homeworddescription.js b/public/react/src/modules/courses/shixunHomework/Homeworddescription.js index d7fc20693..ad5e252fe 100644 --- a/public/react/src/modules/courses/shixunHomework/Homeworddescription.js +++ b/public/react/src/modules/courses/shixunHomework/Homeworddescription.js @@ -57,10 +57,10 @@ class Homeworddescription extends Component { } //确认操作 onSaveExercise=()=>{ - if(this.state.description === "" || this.state.description===undefined || this.state.description === null){ - this.props.showNotification("请输入作业说明"); - return - } + // if(this.state.description === "" || this.state.description===undefined || this.state.description === null){ + // this.props.showNotification("请输入作业说明"); + // return + // } this.props.ReleaseNotes(this.state.description); } //获取输入框 @@ -72,6 +72,7 @@ class Homeworddescription extends Component { }) } render() { + const {getFieldDecorator} = this.props.form; return (