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

重置密码验证

parent 423884b5
......@@ -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")
......
......@@ -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 {
......
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