Browse Source

Merge pull request #37 from gpYang/master

登录失败后刷新验证码
main
蒋吉兆 5 years ago
committed by GitHub
parent
commit
510b750e5f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      QMPlusVuePage/src/view/login/login.vue

4
QMPlusVuePage/src/view/login/login.vue

@ -86,13 +86,15 @@ export default {
async submitForm() {
this.$refs.loginForm.validate(async v => {
if (v) {
await this.login()
this.login()
this.loginVefify()
} else {
this.$message({
type: 'error',
message: '请正确填写登录信息',
showClose: true
})
this.loginVefify()
return false
}
})

Loading…
Cancel
Save