@ -722,15 +722,19 @@ class Coursesleftnav extends Component{
let {url}=this.state;
if (key === this.props.indexs) {
this.props.unlocationNavfun(undefined)
this.props.history.replace(urls);
} else {
this.props.unlocationNavfun(key)
}
if(urls!=url){
if(this.props.indexs===undefined){
// if(this.props.indexs===undefined){
//
// }else{
// }
maincontent=(item,key)=>{