Quellcode durchsuchen

登录失败后刷新验证码

防止被暴力破解
gpYang vor 5 Jahren
Ursprung
Commit
a4a12cab4e
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      QMPlusVuePage/src/view/login/login.vue

+ 2 - 1
QMPlusVuePage/src/view/login/login.vue

@@ -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',