【收货地址】新增/编辑 手机号码缺少验证

master
linzj 5 years ago
parent 086771b5a2
commit 6948d28ae3

@ -308,7 +308,8 @@ Page({
})
return;
}
if (mobile.length != 11) {
var regexp = /^[1]([3-9])[0-9]{9}$/;
if (!regexp.test(mobile)) {
wx.showToast({
title: '请输入正确的手机号码',
icon: "none"

Loading…
Cancel
Save