测试判断ios和android

This commit is contained in:
2025-07-16 08:50:29 +08:00
parent 7ccf2308fa
commit 58807eb0da
3 changed files with 7 additions and 2 deletions
+2
View File
@@ -145,6 +145,8 @@ onMounted(() => {
password.value = loginAccountData.password;
}
back_state.value = true;
const systemInfo = uni.getSystemInfoSync();
console.log(systemInfo);
});
// 跳进了登录页,禁止返回操作
onBackPress(() => back_state.value);