mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-09-21 12:32:25 +00:00
登录失败后刷新验证码
防止被暴力破解
This commit is contained in:
@@ -86,7 +86,8 @@ export default {
|
||||
async submitForm() {
|
||||
this.$refs.loginForm.validate(async v => {
|
||||
if (v) {
|
||||
await this.login()
|
||||
this.login()
|
||||
this.loginVefify()
|
||||
} else {
|
||||
this.$message({
|
||||
type: 'error',
|
||||
|
||||
Reference in New Issue
Block a user