登录页手机号登录修改
This commit is contained in:
parent
aa91beb649
commit
e99d17be57
|
|
@ -135,9 +135,17 @@ export default {
|
|||
phone: String(that.veriFormData.phone)
|
||||
}).then(res => {
|
||||
console.log(res);
|
||||
}).catch(err => {
|
||||
console.log(err);
|
||||
if(res.data.code !== 200) {
|
||||
// uni.showToast({
|
||||
// icon:'none',
|
||||
// title:res.data.msg
|
||||
// })
|
||||
uni.showModal({
|
||||
title: '提示',//标题
|
||||
content: res.data.msg,//提示内容
|
||||
showCancel: false//不显示取消按钮
|
||||
})
|
||||
} else{
|
||||
that.countDownStatus = 1
|
||||
that.sendDisabled = true
|
||||
let timeInterval = setInterval(() => {
|
||||
|
|
@ -151,6 +159,14 @@ export default {
|
|||
clearTimeout(timeOut)
|
||||
}, 1000 * 60)
|
||||
}
|
||||
}).catch(err => {
|
||||
console.log(err);
|
||||
uni.showToast({
|
||||
icon:'error',
|
||||
title:'验证码获取失败'
|
||||
})
|
||||
})
|
||||
}
|
||||
},
|
||||
veriSubmit() {
|
||||
let that = this
|
||||
|
|
|
|||
Loading…
Reference in New Issue