Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
X
XiTianSenMall
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
leiqingsong
XiTianSenMall
Commits
4202adce
Commit
4202adce
authored
Mar 22, 2021
by
leiqingsong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_lqs' into 'master'
Dev lqs See merge request
!127
parents
da4e97fb
2bc3e144
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
register.vue
H5/src/views/register.vue
+3
-1
No files found.
H5/src/views/register.vue
View file @
4202adce
...
@@ -7,6 +7,8 @@
...
@@ -7,6 +7,8 @@
<van-field
<van-field
v-model=
"form.userId"
v-model=
"form.userId"
placeholder=
"请输入手机号"
placeholder=
"请输入手机号"
type=
"number"
maxlength=
"11"
:border=
"hasBorder"
:border=
"hasBorder"
>
>
<img
<img
...
@@ -152,7 +154,7 @@ export default {
...
@@ -152,7 +154,7 @@ export default {
// 校验文本框必填项
// 校验文本框必填项
const
_this
=
this
;
const
_this
=
this
;
if
(
!
_this
.
form
.
userId
)
{
if
(
!
_this
.
form
.
userId
)
{
this
.
$toast
(
"请输入
用户名
"
);
this
.
$toast
(
"请输入
手机号
"
);
return
false
;
return
false
;
}
}
if
(
!
_this
.
form
.
sms
)
{
if
(
!
_this
.
form
.
sms
)
{
...
...
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