mirror of
https://gitee.com/chu1204505056/vue-admin-beautiful.git
synced 2025-09-17 01:49:57 +08:00
🐛♻ fix: phone empty error
This commit is contained in:
parent
10fb62d407
commit
2f1ad39677
@ -164,6 +164,11 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getPhoneCode() {
|
getPhoneCode() {
|
||||||
|
if (!isPhone(this.form.phone)) {
|
||||||
|
//this.$baseMessage('请输入手机号', 'error')
|
||||||
|
this.$refs['registerForm'].validateField('phone')
|
||||||
|
return
|
||||||
|
}
|
||||||
this.isGetphone = true
|
this.isGetphone = true
|
||||||
let n = 60
|
let n = 60
|
||||||
this.getPhoneIntval = setInterval(() => {
|
this.getPhoneIntval = setInterval(() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user