|
|
@ -81,8 +81,8 @@ export default { |
|
|
|
verificationIMG: '', |
|
|
|
verificationIMG: '', |
|
|
|
form: { |
|
|
|
form: { |
|
|
|
distinguish: '1', |
|
|
|
distinguish: '1', |
|
|
|
account: 'admin', |
|
|
|
account: '', |
|
|
|
password: '111aaa', |
|
|
|
password: '', |
|
|
|
random: '', |
|
|
|
random: '', |
|
|
|
code: '' |
|
|
|
code: '' |
|
|
|
}, |
|
|
|
}, |
|
|
@ -131,9 +131,6 @@ export default { |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
getVerImg(){ |
|
|
|
getVerImg(){ |
|
|
|
if(!this.form.account){ |
|
|
|
|
|
|
|
return this.verificationIMG = '' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.form.random = Math.floor(Math.random()*999999999) |
|
|
|
this.form.random = Math.floor(Math.random()*999999999) |
|
|
|
this.verificationIMG = this.api.verification+'?random='+`${this.form.random}` |
|
|
|
this.verificationIMG = this.api.verification+'?random='+`${this.form.random}` |
|
|
|
}, |
|
|
|
}, |
|
|
|