diff --git a/public/react/src/modules/courses/coursesDetail/CoursesBanner.js b/public/react/src/modules/courses/coursesDetail/CoursesBanner.js index 2bf7fb988..afd62118e 100644 --- a/public/react/src/modules/courses/coursesDetail/CoursesBanner.js +++ b/public/react/src/modules/courses/coursesDetail/CoursesBanner.js @@ -601,7 +601,7 @@ class CoursesBanner extends Component { - +
@@ -665,6 +665,10 @@ class CoursesBanner extends Component { {/*}*/}
+ {this.props.isStudent()?this.props.current_user&&this.props.current_user.course_is_end===true?"": this.exitclass()} + > 永久退出课堂 :""} + {coursedata.switch_to_student === true ? 由教师/助教身份切换至学生
可进行提交作品、答题等操作 @@ -723,9 +727,7 @@ class CoursesBanner extends Component { ) : ""} - {this.props.isStudent()?this.props.current_user&&this.props.current_user.course_is_end===true?"": this.exitclass()} - > 永久退出课堂 :""} +
diff --git a/public/react/src/modules/paths/ShixunPathCard.js b/public/react/src/modules/paths/ShixunPathCard.js index 66f236692..5afceaf30 100644 --- a/public/react/src/modules/paths/ShixunPathCard.js +++ b/public/react/src/modules/paths/ShixunPathCard.js @@ -43,7 +43,7 @@ class ShixunPathCard extends Component{

非试用内容,需要授权

*/} - + {/*target="_blank"*/} 详情图片 @@ -80,7 +80,7 @@ class ShixunPathCard extends Component{
) } - + ) } diff --git a/public/react/src/modules/paths/statics/index.js b/public/react/src/modules/paths/statics/index.js index 5988f113d..55e391478 100644 --- a/public/react/src/modules/paths/statics/index.js +++ b/public/react/src/modules/paths/statics/index.js @@ -212,8 +212,8 @@ const App = (props) => { sorter: (a, b) => a.cost_time - b.cost_time } ]; - - + + useEffect(() => { changeParams({ page: 1, @@ -307,7 +307,7 @@ const App = (props) => { fetchData={handleFetchData} /> - + { fetchData={handleFetchData} /> - + { other_info, total, } - + }; const mapDispatchToProps = (dispatch) => ({