Commit bc6fc100 authored by huangjie's avatar huangjie

*

parent abef2912
......@@ -272,8 +272,8 @@
if(this.nosend == true){
return false
}
// logincaptchaSms(this.dxform).then(res=>{
// if(res.code == 200){
logincaptchaSms(this.dxform).then(res=>{
if(res.code == 200){
this.$message.success('已发送短信!')
let _this = this
......@@ -288,14 +288,14 @@
_this.smstime = 60
}
},1000)
// }else{
// this.$message.error(res.msg)
// this.getCode()
// this.showcode = true
// }
// }).catch(res=>{
// this.$message.error(res.msg)
// })
}else{
this.$message.error(res.msg)
this.getCode()
this.showcode = true
}
}).catch(res=>{
this.$message.error(res.msg)
})
},
handleLogin() {
this.$refs.loginForm.validate(valid => {
......
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