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