Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-site
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
张冬
web-site
Commits
1177cce9
Commit
1177cce9
authored
Sep 23, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重置密码验证
parent
423884b5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
header.vue
components/header.vue
+1
-7
seek.vue
pages/login/seek.vue
+5
-2
No files found.
components/header.vue
View file @
1177cce9
...
...
@@ -46,13 +46,7 @@
methods
:
{
//收藏按钮
addFavo
()
{
/* let browser = browser||chrome */
window
.
external
.
addFavorite
({
title
:
document
.
title
,
url
:
document
.
URL
}).
then
(
console
.
log
(
'created'
)
)
this
.
$message
.
success
(
'同时按住ctrl+D收藏本站'
)
},
admin
()
{
this
.
$router
.
push
(
"/login/admin"
)
...
...
pages/login/seek.vue
View file @
1177cce9
...
...
@@ -218,8 +218,11 @@
this
.
$refs
.
organ
.
validate
(
valid
=>
{
if
(
valid
)
{
this
.
active
=
3
//将密码发送给后端
const
{
data
}
=
getResetPassword
(
this
.
organ
)
//将手机号和重新设置的密码发送给后端
let
mes
=
{}
mes
.
phone
=
this
.
form
.
phone
mes
.
password
=
this
.
organ
.
password
const
{
data
}
=
getResetPassword
(
mes
)
console
.
log
(
data
)
this
.
countDown
();
}
else
{
...
...
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