diff --git a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js index 64e2e6a99..a803ecdd2 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js @@ -2499,6 +2499,8 @@ class Listofworksstudentone extends Component { // console.log(data); // console.log(datas); // console.log(this.props.isAdmin()); + + let course_is_end = this.props.current_user&&this.props.current_user.course_is_end; return ( this.props.isAdmin() === true ? ( @@ -2639,7 +2641,7 @@ class Listofworksstudentone extends Component {