dev_forum
杨树明 6 years ago
parent d7b964d5d8
commit d03a46c512

@ -61,7 +61,7 @@ class Coursesleftnav extends Component{
}
// updataleftNav=()=>{
// debugger
//
// let id=this.props.match.params.coursesId;
// let url ="/courses/"+id+"/left_banner.json"
// axios.get(url).then((response) => {
@ -269,14 +269,14 @@ class Coursesleftnav extends Component{
}
selectnavid=(e,key,id,type,urls,index)=>{
debugger
let {url}=this.state;
if(urls!=url){
debugger
this.props.history.replace(urls);
this.props.updataleftNavfun();
}else{
debugger
if (key === this.props.indexs) {
this.props.unlocationNavfun(undefined)
} else {
@ -681,7 +681,7 @@ debugger
}
showsandians=(e,key,urls,num)=> {
debugger
let {url}=this.state;
if (key === this.props.indexs) {
this.props.unlocationNavfun(undefined)

Loading…
Cancel
Save