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