dev_forum
ysl 6 years ago
parent 439d63ab46
commit adfdb8e357

@ -330,14 +330,15 @@ class NewHeader extends Component {
})
}
educoderlogin=()=>{
//出账号
//退出账号
var url = `/accounts/logout.json`;
axios.get((url)).then((result) => {
if(result!==undefined){
this.setState({
isRender:true
})
// this.setState({
// isRender:true
// })
window.location.href = "/";
}
}).catch((error) => {
console.log(error);

Loading…
Cancel
Save