diff --git a/src/pages/plan/key/list.js b/src/pages/plan/key/list.js index 2b1e0688..d2e076e3 100644 --- a/src/pages/plan/key/list.js +++ b/src/pages/plan/key/list.js @@ -173,12 +173,12 @@ export default class acclist extends React.Component{ Notify.error("手机号格式不正确") return; } - if(!emailReg.test(data.email)){ + // if(!emailReg.test(data.email)){ - Notify.error("邮箱格式不正确") - return; + // Notify.error("邮箱格式不正确") + // return; - } + // } diff --git a/src/pages/plan/list/list.js b/src/pages/plan/list/list.js index 301208be..96593277 100644 --- a/src/pages/plan/list/list.js +++ b/src/pages/plan/list/list.js @@ -72,10 +72,7 @@ export default class acclist extends React.Component{ { 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 plan_id = this.state.plan_id; let data ={ 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("手机号格式不正确") return; } - if(!emailReg.test(data.email)){ + // if(!emailReg.test(data.email)){ - Notify.error("邮箱格式不正确") - return; + // Notify.error("邮箱格式不正确") + // return; - } + // }