dev_newshixunModel
杨树林 6 years ago
parent 21f95435fa
commit 212362384d

@ -197,6 +197,8 @@ class ShixunHomeworkPage extends Component {
</Modals>
<div className={"educontent mt10 mb20"} style={{width: "1200px"}}>
<Spin size="large" spinning={this.state.mylistisSpin}>
{
jobsettingsdatapage === undefined?"":
<div className="educontent mb20">
<p className="clearfix mb20 mt10">
<a className="btn colorgrey fl hovercolorblue " href={this.props.current_user&&this.props.current_user.first_category_url}>{jobsettingsdatapage === undefined ? "" : jobsettingsdatapage.data.course_name}</a>
@ -208,6 +210,8 @@ class ShixunHomeworkPage extends Component {
<WordsBtn className="fl">作业详情</WordsBtn>
</p>
</div>
}
<div className="educontent mb20">
<p className=" fl color-black summaryname" style={{heigth: "33px"}}>
{teacherdatapage === undefined ? "" : teacherdatapage.homework_name}

@ -398,15 +398,19 @@ class LoginDialog extends Component {
});
}
handleDialogClose = () => {
if(this.props.match===undefined){
window.location.href="/";
}else{
// https://www.trustie.net/issues/24441
// console.log(JSON.stringify(this.props));
// console.log("handleDialogClose");
// console.log(this.props.match);
// if(this.props.match===undefined){
// window.location.href="/";
// }else{
// this.props.history.goBack();
this.setState({
isRender: false
})
});
this.props.Modifyloginvalue();
}
// }
// this.setState({
// isRender: false
// })

Loading…
Cancel
Save