dev_ec
杨树林 6 years ago
parent 6f142a8500
commit 9bd98fb62d

@ -16,7 +16,7 @@ class CurriculumSubpage extends Component {
console.log(this.props.match.params); console.log(this.props.match.params);
} }
Curriculumstructure=()=>{ Curriculumstructure=()=>{
this.props.history.push(`/ecs/major_schools/${this.props.match.params.majorId}/years/${this.props.match.params.yearId}/subpage/courses`); this.props.history.push(`/ecs/major_schools/${this.props.match.params.majorId}/years/${this.props.match.params.yearId}/subpage/courses/ec_course_support_setting/1`);
} }
@ -25,7 +25,7 @@ class CurriculumSubpage extends Component {
// console.log(this.props); // console.log(this.props);
return ( return (
<div className="educontent fl"> <div className="educontent fl">
<span onClick={()=>this.Curriculumstructure()}>测试</span> <span onClick={()=>this.Curriculumstructure()}>点我进去课程体系</span>
</div> </div>
) )
} }

Loading…
Cancel
Save