1 export function testPhone(phone) { 2 let phoneReg = /(^1[3|4|5|6|7|8|9]\d{9}$)|(^09\d{8}$)/; 3 return phoneReg.test(phone); 4 }