add toggle attention

This commit is contained in:
xmcp
2018-08-24 22:24:23 +08:00
parent cf78b74330
commit 16ca7f444c
3 changed files with 49 additions and 6 deletions

View File

@@ -30,6 +30,9 @@ export class LoginForm extends Component {
data.append('password', this.password_ref.current.value);
fetch(LOGIN_BASE+'/login.php?platform=hole_xmcp_ml', {
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
body: data,
})
.then((res)=>res.json())