|
@@ -169,6 +169,9 @@ const resetForm = (formEl: FormInstance | undefined) => {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const getCaptcha = async() => {
|
|
const getCaptcha = async() => {
|
|
|
|
|
+ if(loginForm.account.length !== 11){
|
|
|
|
|
+ return Message.error('请输入有效手机号!')
|
|
|
|
|
+ }
|
|
|
await getCaptchaHttp({mobile: loginForm.account}).then((res) => {
|
|
await getCaptchaHttp({mobile: loginForm.account}).then((res) => {
|
|
|
console.log(res)
|
|
console.log(res)
|
|
|
can_send.value = false
|
|
can_send.value = false
|