Get Captcha
{ { count }} s
import store from '@/store'
import Vue from 'vue'
import $ from 'jquery'
export default {
name: "register",
data () {
return {
show: true,
count: 60,
timer: null,
}
},
methods: {
get_captcha() {
if (this.login_form.username === '' ) {
alert('Phone number or mailbox cannot be empty')
} else {
if(this.timer == null){
getValidate(this.login_form.username).then(response => {
const data = response.data
console.log(data)
console.log('成功')
}).catch(error => {