Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
N
newLive
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
孟庆瑞
newLive
Commits
a66fb5b9
Commit
a66fb5b9
authored
Nov 28, 2022
by
mengqr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug尝试
parent
bedba8f2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
2 deletions
+33
-2
index.js
src/router/index.js
+2
-2
sign.vue
src/views/sign.vue
+31
-0
No files found.
src/router/index.js
View file @
a66fb5b9
...
...
@@ -31,8 +31,8 @@ const router = new Router({
},
{
path
:
'/'
,
name
:
'
list
'
,
component
:
list
,
name
:
'
password
'
,
component
:
password
,
// 判断是否需要登录
},
{
...
...
src/views/sign.vue
View file @
a66fb5b9
...
...
@@ -115,6 +115,22 @@ export default {
// this.ifRed5=true
this
.
ifClick
=
true
}
if
(
e
==
0
&&
this
.
numberOne
.
length
==
6
){
let
stmp
=
this
.
numberOne
console
.
log
(
'啊'
,
stmp
.
slice
(
1
,
2
))
this
.
numberOne
=
stmp
.
slice
(
0
,
1
)
this
.
numberTwo
=
stmp
.
slice
(
1
,
2
)
this
.
numberThree
=
stmp
.
slice
(
2
,
3
)
this
.
numberFour
=
stmp
.
slice
(
3
,
4
)
this
.
numberFive
=
stmp
.
slice
(
4
,
5
)
this
.
numberSix
=
stmp
.
slice
(
5
,
6
)
document
.
getElementById
(
'sixNumber'
).
focus
();
this
.
ifRed5
=
true
this
.
ifclick
=
true
}
// if(this.numberOne==''){
// document.getElementById('firstNumber').focus();
// this.ifRed0=true
...
...
@@ -216,6 +232,21 @@ export default {
}
}
if
(
e
==
0
&&
this
.
numberOne
.
length
==
6
){
let
stmp
=
this
.
numberOne
console
.
log
(
'啊'
,
stmp
.
slice
(
1
,
2
))
this
.
numberOne
=
stmp
.
slice
(
0
,
1
)
this
.
numberTwo
=
stmp
.
slice
(
1
,
2
)
this
.
numberThree
=
stmp
.
slice
(
2
,
3
)
this
.
numberFour
=
stmp
.
slice
(
3
,
4
)
this
.
numberFive
=
stmp
.
slice
(
4
,
5
)
this
.
numberSix
=
stmp
.
slice
(
5
,
6
)
document
.
getElementById
(
'sixNumber'
).
focus
();
this
.
ifRed5
=
true
this
.
ifclick
=
true
}
// console.log("dss双方都是",this.userPhone)
// if(this.userPhone &&this.ifCheck==true){
// this.ifSend=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