dev_oauth
杨树林 6 years ago
parent e8cba53c99
commit ea66f83d26

@ -416,7 +416,12 @@ class Goldsubject extends Component {
// this.props.history.push(this.props.current_user.first_category_url);
// }
// window.history.go(-1)
this.props.history.goBack()
if(this.state.Whethertocreateanewclassroom===true){
var subjectids=this.props.match.params.subjectid;
window.location.href=`/paths/${subjectids}`
}else{
this.props.history.goBack();
}
}
onCheckAllChange = (e) => {
@ -589,7 +594,7 @@ class Goldsubject extends Component {
<div className="newMain clearfix">
<div className={"educontent mb20"}>
<Breadcrumb className="mt10">
<Breadcrumb className="mt10" separator=">">
<Breadcrumb.Item>
<a href="/">首页</a>
</Breadcrumb.Item>
@ -597,7 +602,7 @@ class Goldsubject extends Component {
</Breadcrumb>
<div style={{width: '100%', height: '70px'}}>
<p className=" fl color-black mt18 summaryname">{Whethertocreateanewclassroom===true ? "新建课堂" : "编辑课堂"}</p>
<a onClick={this.goback} className="color-grey-6 fr font-16 ml30 mt18 mr20">返回</a>
<a onClick={this.goback} className="color-grey-6 fr font-16 ml30 mt18 mr20"></a>
</div>
<style>
{`

Loading…
Cancel
Save