蒋吉兆
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
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 |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|