Browse Source

登录失败后刷新验证码

防止被暴力破解
main
gpYang 5 years ago
committed by GitHub
parent
commit
a4a12cab4e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      QMPlusVuePage/src/view/login/login.vue

3
QMPlusVuePage/src/view/login/login.vue

@ -86,7 +86,8 @@ export default {
async submitForm() { async submitForm() {
this.$refs.loginForm.validate(async v => { this.$refs.loginForm.validate(async v => {
if (v) { if (v) {
await this.login()
this.login()
this.loginVefify()
} else { } else {
this.$message({ this.$message({
type: 'error', type: 'error',

Loading…
Cancel
Save