let reg = /^1[0-9]{10}$/;
if (
this.telval == "" ||
this.telval.length <= 10 ||
!reg.test(this
vue 之验证手机号
最新推荐文章于 2024-04-07 16:54:36 发布
let reg = /^1[0-9]{10}$/;
if (
this.telval == "" ||
this.telval.length <= 10 ||
!reg.test(this