From 6fa1a21e92053d733618102fb5c60e0d8bdc7c78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Wed, 16 Oct 2019 16:53:04 +0800 Subject: [PATCH] =?UTF-8?q?24867=20=E6=8F=8F=E8=BF=B0=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=8F=90=E7=A4=BA=E8=AF=AD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shixunHomework/Homeworddescription.js | 69 +++++++++++++++---- .../shixunHomework/Workquestionandanswer.js | 6 +- 2 files changed, 58 insertions(+), 17 deletions(-) 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 (