|
|
|
@ -206,7 +206,6 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
}
|
|
|
|
|
//是否验证通过
|
|
|
|
|
dragOkCallback = () => {
|
|
|
|
|
debugger
|
|
|
|
|
this.setState({
|
|
|
|
|
Phonenumberisnotcosytdhk:undefined,
|
|
|
|
|
})
|
|
|
|
@ -217,6 +216,8 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
dragOk:false,
|
|
|
|
|
Whethertoverify:this.state.Whethertoverify===true?false:true,
|
|
|
|
|
})
|
|
|
|
|
console.log("s0");
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
// var telephone = $("#telephoneAdd.tianjia_phone").val();
|
|
|
|
@ -229,11 +230,11 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
if (!regph.test(this.state.logins)) {
|
|
|
|
|
stringdata = "手机号格式不正确";
|
|
|
|
|
this.setState({
|
|
|
|
|
Phonenumberisnotcos: stringdata,
|
|
|
|
|
Phonenumberisnotcobool: true,
|
|
|
|
|
dragOk:false,
|
|
|
|
|
Whethertoverify:this.state.Whethertoverify===true?false:true,
|
|
|
|
|
Phonenumberisnotcos: undefined,
|
|
|
|
|
Phonenumberisnotcobool: false,
|
|
|
|
|
dragOk:true,
|
|
|
|
|
})
|
|
|
|
|
console.log("s1");
|
|
|
|
|
} else {
|
|
|
|
|
this.setState({
|
|
|
|
|
Phonenumberisnotcos: undefined,
|
|
|
|
@ -256,9 +257,12 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
Phonenumberisnotcobool: true,
|
|
|
|
|
dragOk:false,
|
|
|
|
|
Whethertoverify:this.state.Whethertoverify===true?false:true,
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
console.log("s2");
|
|
|
|
|
|
|
|
|
|
return
|
|
|
|
|
} else {
|
|
|
|
|
console.log("s222222");
|
|
|
|
|
this.setState({
|
|
|
|
|
Phonenumberisnotcos: undefined,
|
|
|
|
|
Phonenumberisnotcobool: false,
|
|
|
|
@ -492,6 +496,8 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
dragOk:false,
|
|
|
|
|
Whethertoverify:this.state.Whethertoverify===true?false:true,
|
|
|
|
|
})
|
|
|
|
|
console.log("s5");
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
} else if (id === 2) {
|
|
|
|
@ -501,7 +507,9 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
dragOk:false,
|
|
|
|
|
Whethertoverify:this.state.Whethertoverify===true?false:true,
|
|
|
|
|
})
|
|
|
|
|
return;
|
|
|
|
|
console.log("s6");
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}else {
|
|
|
|
|
if (id === 1) {
|
|
|
|
|