Commit 2f1ad396 by chuzhixin

🐛 fix: phone empty error

parent 10fb62d4
......@@ -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(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment