dev_forum
杨树林 5 years ago
parent 3d8b000313
commit e2952ced52

@ -405,6 +405,7 @@ class LoginRegisterComponent extends Component {
} }
inputOnBlurzhuche = (e)=>{ inputOnBlurzhuche = (e)=>{
if(this.state.pciphone===false) {
if(this.state.login===""||this.state.login.length===0){ if(this.state.login===""||this.state.login.length===0){
this.setState({ this.setState({
Phonenumberisnotco: "账号不能为空", Phonenumberisnotco: "账号不能为空",
@ -419,10 +420,12 @@ class LoginRegisterComponent extends Component {
}) })
this.Emailphonenumberverification(e.target.value) this.Emailphonenumberverification(e.target.value)
} }
}
//是否验证通过 //是否验证通过
dragOkCallback = () => { dragOkCallback = () => {
console.log(this.state.login); console.log(this.state.login);
if(this.state.pciphone===false) {
if (this.state.login === "" || this.state.login.length === 0) { if (this.state.login === "" || this.state.login.length === 0) {
this.setState({ this.setState({
@ -438,7 +441,6 @@ class LoginRegisterComponent extends Component {
}) })
this.Emailphonenumberverification(this.state.login) this.Emailphonenumberverification(this.state.login)
}
} }
//邮箱手机号验证 //邮箱手机号验证

Loading…
Cancel
Save