提交 78b4df58 authored 作者: 黄旭新's avatar 黄旭新

xin

上级 7fb5c188
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
// 请求验证码 // 请求验证码
getAuthCode() { getAuthCode() {
let phone = this.phone let phone = this.phone
let phoneReg = /^1[3|4|5|7|8][0-9]{9}$/ let phoneReg = /^1[9|3|4|5|7|8][0-9]{9}$/
let flag = phoneReg.test(phone) let flag = phoneReg.test(phone)
if (phone && flag) { if (phone && flag) {
uni.showToast({ uni.showToast({
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论