完善登录

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

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

Loading…
Cancel
Save