🐛♻ fix: phone empty error

This commit is contained in:
chuzhixin 2020-10-22 20:41:45 +08:00
parent 10fb62d407
commit 2f1ad39677

View File

@ -164,6 +164,11 @@
},
methods: {
getPhoneCode() {
if (!isPhone(this.form.phone)) {
//this.$baseMessage('', 'error')
this.$refs['registerForm'].validateField('phone')
return
}
this.isGetphone = true
let n = 60
this.getPhoneIntval = setInterval(() => {