| | |
| | | // 拼图方式,看需要啥参数,暂未实现 |
| | | 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 |
| | |
| | | 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(); |
| | | } |
| | | }); |