Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a819b4f9
authored
Mar 24, 2023
by
梁建民
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'dev/ver/3.0.0' into 'master'
适配手机号 See merge request
!12
parents
ed5c5b98
a30ca6b2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/views/User/login.vue
src/views/User/login.vue
View file @
a819b4f9
...
...
@@ -125,7 +125,7 @@ export default {
this
.
pwdFlag
=
!
this
.
pwdFlag
;
},
submit
()
{
var
myreg
=
/^
[
1
][
3,4,5,7,8
][
0-9
]{9
}
$/
;
var
myreg
=
/^
1
(
3
[
0-9
]
|4
[
01456879
]
|5
[
0-35-9
]
|6
[
2567
]
|7
[
0-8
]
|8
[
0-9
]
|9
[
0-35-9
])\d{8
}
$/
;
if
(
!
this
.
form
.
mobile
)
{
this
.
errror_text
=
'请输入手机号'
;
this
.
errorClass1
=
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment