courseware
杨树林 5 years ago
parent 60925486e6
commit f871d6858d

@ -12,7 +12,7 @@ class GraduateTopicItem extends Component{
} }
editTopic=(topicId)=>{ editTopic=(topicId)=>{
let courseId=this.props.match.params.coursesId; let courseId=this.props.match.params.coursesId;
this.props.history.push(`/courses/${courseId}/graduation_topics/${topicId}/edit`); this.props.history.push(`/classrooms/${courseId}/graduation_topics/${topicId}/edit`);
} }
toDetailPage=(topicId)=>{ toDetailPage=(topicId)=>{
@ -32,7 +32,7 @@ class GraduateTopicItem extends Component{
// } // }
let courseId=this.props.match.params.coursesId; let courseId=this.props.match.params.coursesId;
this.props.history.push(`/courses/${courseId}/graduation_topics/${topicId}/detail`); this.props.history.push(`/classrooms/${courseId}/graduation_topics/${topicId}/detail`);
} }
render(){ render(){
const { checkBox, discussMessage, index,chooseTopic, const { checkBox, discussMessage, index,chooseTopic,

Loading…
Cancel
Save