mirror of
https://gitee.com/chu1204505056/vue-admin-beautiful.git
synced 2025-09-16 01:29:50 +08:00
🐛♻ fix: phone empty error
This commit is contained in:
parent
10fb62d407
commit
2f1ad39677
@ -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(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user