去掉验证码

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

Loading…
Cancel
Save