let regPhone = /^1[0-9]{10,15}$/;
let regTel = /|\d{3}-\d{8}|\d{4}-\d{7}/;
let reg=/^1[0-9]{10,15}$|\d{3}-\d{8}|\d{4}-\d{7}/;
var flag=reg.test(this.contactTel);
if(!flag) {
console.log('输入的号码有误');
returnfalse;
}
let regPhone = /^1[0-9]{10,15}$/;
let regTel = /|\d{3}-\d{8}|\d{4}-\d{7}/;
let reg=/^1[0-9]{10,15}$|\d{3}-\d{8}|\d{4}-\d{7}/;
var flag=reg.test(this.contactTel);
if(!flag) {
console.log('输入的号码有误');
returnfalse;
}