Toggle navigation
This project
Loading...
Sign in
xt
/
xcx-book
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
e363a5dde7af02de6a4c6cb12c6f9b2520cdf678
Authored by
pengye
2024-03-26 12:08:33 +0800
1 parent
283fc740
build: skipped
入驻商家填写手机号校验修改
Changes
1
Builds
0
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
miniprogram/pages/customer/joinSeller.js
miniprogram/pages/customer/joinSeller.js
View file @
e363a5d
...
...
@@ -46,7 +46,7 @@ Page({
if
(
!
this
.
data
.
phone
)
{
return
util
.
toast
(
'请输入您的电话号码'
,
'none'
)
}
var
myreg
=
/^
[
1
][
3,4,5,7,8
][
0-9
]{9
}
$/
;
var
myreg
=
/^
1
\d{10
}
$/
;
if
(
!
myreg
.
test
(
phone
))
{
return
util
.
toast
(
'手机格式不正确'
,
'none'
)
}
...
...
Please
register
or
login
to post a comment