diff --git a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js index ce3af71ef..ed87ecc0d 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js @@ -750,7 +750,7 @@ class Listofworksstudentone extends Component { }) this.Getalistofworkstwo(this.state.order, "", "", "", pageNumber, this.state.limit); } - + //计算成绩 setComputeTime=()=>{ let {teacherdata}=this.state; this.setState({ @@ -761,6 +761,8 @@ class Listofworksstudentone extends Component { axios.get(url).then((response) => { this.props.showNotification(`${response.data.message}`); + var homeworkid = this.props.match.params.homeworkid; + this.Getalistofworks(homeworkid); }).catch((error) => { console.log(error) });