|
|
|
@ -59,7 +59,7 @@ class AccountSecure extends Component {
|
|
|
|
|
let url=`/accounts/get_verification_code.json`
|
|
|
|
|
let login = '';
|
|
|
|
|
let values=this.props.form.getFieldsValue();
|
|
|
|
|
let smscode=setmiyah( this.props.form.getFieldsValue())
|
|
|
|
|
|
|
|
|
|
if(index == 3){
|
|
|
|
|
//绑定手机号码
|
|
|
|
|
login=values.phone;
|
|
|
|
@ -82,6 +82,7 @@ class AccountSecure extends Component {
|
|
|
|
|
this.props.showNotification(`请先输入${index==3?"手机号码":"邮箱地址"}`);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
let smscode=setmiyah(login)
|
|
|
|
|
axios.get((url),{params:{
|
|
|
|
|
login,type,smscode
|
|
|
|
|
}}).then((result)=>{
|
|
|
|
|