取消邮箱检验
This commit is contained in:
parent
20a5a9d607
commit
571c240f95
|
@ -173,12 +173,12 @@ export default class acclist extends React.Component{
|
||||||
Notify.error("手机号格式不正确")
|
Notify.error("手机号格式不正确")
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(!emailReg.test(data.email)){
|
// if(!emailReg.test(data.email)){
|
||||||
|
|
||||||
Notify.error("邮箱格式不正确")
|
// Notify.error("邮箱格式不正确")
|
||||||
return;
|
// return;
|
||||||
|
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -73,9 +73,6 @@ export default class acclist extends React.Component{
|
||||||
let phoneReg = new RegExp("^[1][3,4,5,6,7,8,9][0-9]{9}$");
|
let phoneReg = new RegExp("^[1][3,4,5,6,7,8,9][0-9]{9}$");
|
||||||
let emailReg = new RegExp( "\w+@\w+\.\w+(\.\w+){0,1}");
|
let emailReg = new RegExp( "\w+@\w+\.\w+(\.\w+){0,1}");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
let plan_id = this.state.plan_id;
|
let plan_id = this.state.plan_id;
|
||||||
let data ={
|
let data ={
|
||||||
phone: this.state.phone_radio > -1 ? this.state.phone_list[this.state.phone_radio] : this.state.phone ,
|
phone: this.state.phone_radio > -1 ? this.state.phone_list[this.state.phone_radio] : this.state.phone ,
|
||||||
|
@ -88,12 +85,12 @@ export default class acclist extends React.Component{
|
||||||
Notify.error("手机号格式不正确")
|
Notify.error("手机号格式不正确")
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(!emailReg.test(data.email)){
|
// if(!emailReg.test(data.email)){
|
||||||
|
|
||||||
Notify.error("邮箱格式不正确")
|
// Notify.error("邮箱格式不正确")
|
||||||
return;
|
// return;
|
||||||
|
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue