dev_local_2
杨树林 6 years ago
parent 9c29d2de28
commit 70653724b8

@ -335,11 +335,20 @@ class CoursesNew extends Component {
// this.props.history.push(this.props.current_user.first_category_url); // this.props.history.push(this.props.current_user.first_category_url);
// } // }
// window.history.go(-1) // window.history.go(-1)
if(id===undefined){ // if(id===undefined){
this.props.history.goBack() // this.props.history.goBack()
}else{ // }else{
this.props.history.push(this.props.current_user.first_category_url); try {
} if(this.props.current_user.first_category_url===undefined){
this.props.history.push(this.props.current_user.first_category_url);
}else {
this.props.history.goBack()
}
}catch (e) {
this.props.history.goBack()
}
// }
} }

@ -94,11 +94,11 @@ class SiderBar extends Component {
</a> </a>
</div> </div>
<div className="feedback" tooltips="意见反馈"> {/*<div className="feedback" tooltips="意见反馈">*/}
<a target="_blank" className="color_white" href="/help?index=6"> {/* <a target="_blank" className="color_white" href="/help?index=6">*/}
<i className="iconfont icon-yijianfankui color-white font-22"></i> {/* <i className="iconfont icon-yijianfankui color-white font-22"></i>*/}
</a> {/* </a>*/}
</div> {/*</div>*/}

@ -939,8 +939,8 @@ class Newshixuns extends Component {
<div className="mb10 edu-back-white"> <div className="mb10 edu-back-white">
<p className="padding10-20 bor-bottom-greyE color-grey-3 clearfix"> <p className="padding10-20 bor-bottom-greyE color-grey-3 clearfix">
<span className="fl font-18 lineh-35">创建实训</span> <span className="fl font-18 lineh-35">创建实训</span>
<a className="fr font-16 mt3 color-blue" href="/forums/2943" {/*<a className="fr font-16 mt3 color-blue" href="/forums/2943"*/}
target="_blank">实训制作指南</a> {/* target="_blank">实训制作指南</a>*/}
</p> </p>
<div className="padding30-20"> <div className="padding30-20">

Loading…
Cancel
Save