From d03a46c512560b41844ffa0cf7c98b89e1a019ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Fri, 28 Jun 2019 10:22:01 +0800 Subject: [PATCH] =?UTF-8?q?=20=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/courses/coursesDetail/CoursesLeftNav.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/public/react/src/modules/courses/coursesDetail/CoursesLeftNav.js b/public/react/src/modules/courses/coursesDetail/CoursesLeftNav.js index 74ed4e3b1..e8442ee48 100644 --- a/public/react/src/modules/courses/coursesDetail/CoursesLeftNav.js +++ b/public/react/src/modules/courses/coursesDetail/CoursesLeftNav.js @@ -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)