Commit 1177cce9 authored by 吴冠's avatar 吴冠

重置密码验证

parent 423884b5
...@@ -46,13 +46,7 @@ ...@@ -46,13 +46,7 @@
methods: { methods: {
//收藏按钮 //收藏按钮
addFavo() { addFavo() {
/* let browser = browser||chrome */ this.$message.success('同时按住ctrl+D收藏本站')
window.external.addFavorite({
title: document.title,
url: document.URL
}).then(
console.log('created')
)
}, },
admin() { admin() {
this.$router.push("/login/admin") this.$router.push("/login/admin")
......
...@@ -218,8 +218,11 @@ ...@@ -218,8 +218,11 @@
this.$refs.organ.validate(valid => { this.$refs.organ.validate(valid => {
if (valid) { if (valid) {
this.active = 3 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) console.log(data)
this.countDown(); this.countDown();
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment