diff --git a/public/react/src/modules/courses/Resource/Fileslistitem.js b/public/react/src/modules/courses/Resource/Fileslistitem.js index 4515884cd..29067d20a 100644 --- a/public/react/src/modules/courses/Resource/Fileslistitem.js +++ b/public/react/src/modules/courses/Resource/Fileslistitem.js @@ -427,10 +427,10 @@ class Fileslistitem extends Component { {discussMessage.publish_time === null ? "" : discussMessage.is_publish === true ? moment(discussMessage.publish_time).fromNow() : moment(discussMessage.publish_time).format('YYYY-MM-DD HH:mm')} - {discussMessage && discussMessage.category_name === null ? "" : this.props.child === false ? + {discussMessage && discussMessage.category_name === undefined||discussMessage && discussMessage.category_name === null ? "" :
资源
*/} {this.state.course_second_categories&&this.state.course_second_categories.length>10?{this.setState({dirSearchValue: e.target.value})}}/> @@ -1032,7 +1032,9 @@ class Fileslists extends Component{ {course_modules&&course_modules.course_modules.map((item,key)=>{ return( - filesId&&filesId===item.value?"":