完善登录

dev_aliyun
杨树明 6 years ago
parent 6e564857a8
commit 60c4b45132

@ -258,7 +258,7 @@ class NewHeader extends Component {
}
NewCoursesAndShixuns=(sum)=>{
if(this.props.user&&this.props.user.login=== ""||this.props.user&&this.props.user===null){
window.location.href = "/login";
}else{

Loading…
Cancel
Save