去掉验证码

dev_2022-04-07 V1.2.1
yujialong 3 years ago
parent f1854ad683
commit ccc152fcb8
  1. 7
      src/pages/account/login/index.vue

@ -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}`
}, },

Loading…
Cancel
Save