|
|
@@ -913,6 +913,12 @@ export default {
|
|
|
this.qwCode.code = null;
|
|
|
this.qwCode.submitted = true;
|
|
|
this.qwCode.waitCount = 0;
|
|
|
+ // 后端主动探测到主机已登录时直接成功,不再空等回调
|
|
|
+ if (res.msg == 104001 || res.msg === '104001') {
|
|
|
+ this.$message.success('登录成功');
|
|
|
+ this.clearDl();
|
|
|
+ return;
|
|
|
+ }
|
|
|
if (res.msg === 'NOT_NEED_VERIFY') {
|
|
|
this.$message.info('验证码已提交,正在确认登录状态...');
|
|
|
} else {
|