|
@ -33,11 +33,11 @@ import GuipInput from '@/components/GuipInput.vue'; |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
async sendCode() { |
|
|
async sendCode() { |
|
|
if (!/^1\d{10}$/.test(this.$refs.phoneNumber.value)) { |
|
|
if (!/^1\d{10}$/.test(this.$refs.phoneNumber.inputValue)) { |
|
|
this.$message.warning('请输入有效的手机号码'); |
|
|
this.$message.warning('请输入有效的手机号码'); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
this.phoneValue = this.$refs.phoneNumber.value; |
|
|
this.phoneValue = this.$refs.phoneNumber.inputValue; |
|
|
this.startCountdown(); |
|
|
this.startCountdown(); |
|
|
// 根据实际接口请求 |
|
|
// 根据实际接口请求 |
|
|
// try { |
|
|
// try { |
|
|