this.state.description != ''

dev_newshixunModel
hjm 5 years ago
parent 443dc7115a
commit 61dad66bfb

@ -323,7 +323,7 @@ class NewWorkForm extends Component{
const courseId = this.state.course_id || this.props.match.params.coursesId ;
this.isEdit = this.isEdit || this.props.match.url.indexOf('/edit') != -1
if ((this.isEdit) && !this.state.description) {
if ((this.isEdit) && !this.state.description && this.state.description != '') {
return ''
}
const uploadProps = {

Loading…
Cancel
Save