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);
// }
// window.history.go(-1)
if(id===undefined){
this.props.history.goBack()
}else{
this.props.history.push(this.props.current_user.first_category_url);
}
// if(id===undefined){
// this.props.history.goBack()
// }else{
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>
</div>
<div className="feedback" tooltips="意见反馈">
<a target="_blank" className="color_white" href="/help?index=6">
<i className="iconfont icon-yijianfankui color-white font-22"></i>
</a>
</div>
{/*<div className="feedback" tooltips="意见反馈">*/}
{/* <a target="_blank" className="color_white" href="/help?index=6">*/}
{/* <i className="iconfont icon-yijianfankui color-white font-22"></i>*/}
{/* </a>*/}
{/*</div>*/}

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

Loading…
Cancel
Save