Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
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
xugong
hls-xcmg-vue-app
Commits
8e566848
Commit
8e566848
authored
May 05, 2023
by
jiacheng.mao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
演示版本固定验证码
parent
d19c526c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
regiester2.vue
src/pages/regiester2.vue
+3
-3
No files found.
src/pages/regiester2.vue
View file @
8e566848
...
@@ -152,7 +152,7 @@ export default {
...
@@ -152,7 +152,7 @@ export default {
vm
.
showTimer
=
false
vm
.
showTimer
=
false
clearInterval
(
counter
)
clearInterval
(
counter
)
vm
.
showTimer
=
false
vm
.
showTimer
=
false
vm
.
captchaKey
=
(
'000000'
+
Math
.
floor
(
Math
.
random
()
*
999999
)).
slice
(
-
6
)
vm
.
captchaKey
=
'123456'
hlsPopup
.
showLongCenter
(
'验证码失效,请重新获取'
)
hlsPopup
.
showLongCenter
(
'验证码失效,请重新获取'
)
vm
.
timerCount
=
vm
.
timer
/
1000
vm
.
timerCount
=
vm
.
timer
/
1000
},
vm
.
timer
)
},
vm
.
timer
)
...
@@ -225,9 +225,9 @@ export default {
...
@@ -225,9 +225,9 @@ export default {
},
},
getVerifiedCode
()
{
getVerifiedCode
()
{
let
vm
=
this
let
vm
=
this
//
hlsPopup.showLongCenter('测试验证码为123456')
hlsPopup
.
showLongCenter
(
'测试验证码为123456'
)
let
url
=
process
.
env
.
basePath
+
'sms_verify_post'
let
url
=
process
.
env
.
basePath
+
'sms_verify_post'
let
signcode
=
(
'000000'
+
Math
.
floor
(
Math
.
random
()
*
999999
)).
slice
(
-
6
)
let
signcode
=
'123456'
vm
.
captchaKey
=
signcode
vm
.
captchaKey
=
signcode
let
param
=
{
let
param
=
{
'phone'
:
vm
.
phone_number
,
'phone'
:
vm
.
phone_number
,
...
...
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