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() { 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',
message: '请正确填写登录信息', message: '请正确填写登录信息',
showClose: true showClose: true
}) })
this.loginVefify()
return false return false
} }
}) })

Loading…
Cancel
Save