登录页手机号登录修改

This commit is contained in:
BianLzhaoMin 2024-08-13 10:32:21 +08:00
parent aa91beb649
commit e99d17be57
1 changed files with 29 additions and 13 deletions

View File

@ -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