mirror of
https://gitee.com/gz-yami/mall4m.git
synced 2025-12-26 07:06:28 +08:00
【收货地址】新增/编辑 手机号码缺少验证
This commit is contained in:
parent
75f5c522eb
commit
beb6c349fb
@ -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…
x
Reference in New Issue
Block a user