flat:修改错误

This commit is contained in:
Apcallover
2025-12-26 17:08:01 +08:00
parent 3f66ceece9
commit 0d136943a3

View File

@@ -246,7 +246,7 @@ onLoad((parmas) => {
}); });
onMounted(() => { onMounted(() => {
if (isMachineEnv) { if (isMachineEnv.value) {
startCountdown(); startCountdown();
startScanAnimation(); startScanAnimation();
faceService.start(); // 自动开始初始化流程 faceService.start(); // 自动开始初始化流程
@@ -308,7 +308,7 @@ const cancelLogin = () => {
// 切换登录方式 // 切换登录方式
const switchLoginMethod = (method) => { const switchLoginMethod = (method) => {
if (!isMachineEnv) { if (!isMachineEnv.value) {
return; return;
} }
if (loginMethod.value !== method) { if (loginMethod.value !== method) {