适配 all-in-one lite 移动端登录

This commit is contained in:
Chopper711
2026-06-11 14:57:51 +08:00
parent f0939430c9
commit 0dce3f0dbc
2 changed files with 18 additions and 10 deletions

View File

@@ -103,12 +103,13 @@
} from "@/utils/Foundation"; //登录跳转
import storage from "@/utils/storage.js"; //缓存
import wechatH5Login from "./wechatH5Login.vue";
import {
webConnect
} from "@/api/connect.js";
import {
md5
} from "@/utils/md5.js";
import {
webConnect
} from "@/api/connect.js";
import config from "@/config/config.js";
import {
md5
} from "@/utils/md5.js";
export default {
components: {
@@ -680,10 +681,15 @@
return false;
}
if (!this.flage) {
this.$refs.verification.error(); //发送
return false;
if (config.loginCaptchaBypass) {
this.submitUserLogin();
return;
}
if (!this.flage) {
this.$refs.verification.error(); //发送
return false;
}
},