Commit 3402c99d authored by 吴冠's avatar 吴冠

密码

parent af489764
......@@ -256,7 +256,7 @@
});
} else if (this.active == 1) {
// 设置密码
this.$refs.organ.validate(valid => {
this.$refs.organ.validate(async valid => {
if (valid) {
/* this.active = 3 */
//将手机号和重新设置的密码发送给后端
......@@ -264,7 +264,7 @@
mes.verify = this.form.verify
mes.phone = this.form.phone
mes.password = this.organ.password
const {data,code,msg} = getResetPassword(mes)
const {data,code,msg} = await getResetPassword(mes)
console.log(code+'-------------'+'111111111')
if(code==200){
this.active++
......
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