@ -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);