shikeying
2023-04-17 f556fddfbbcf2e5ac0748baf668e2704ca35557c
src/views/user/login.vue
@@ -155,6 +155,7 @@
        // 拼图方式,看需要啥参数,暂未实现
        console.log('jigsaw...');
        this.loginForm.code = 'jigsaw'; // 填充code默认值,否则验证不通过。2023-04-06
        this.loginForm.uuid = '';       // 清空验证码,为下次重新验证准备。2023-04-16
      } else if(this.loginForm.verifyType==='slide' || this.loginForm.verifyType==='sms'){
        // 不需要验证码,但仍需要请求接口获取uuid
@@ -210,7 +211,9 @@
            this.$router.push({ path: this.redirect || "/" }).catch(()=>{});
          }).catch(() => {
            this.loading = false;
            if (this.captchaEnabled && this.loginForm.verifyType==='code') {
            if (this.captchaEnabled) {
              // if(this.loginForm.verifyType==='code'){
              // }
              this.getCode();
            }
          });