测试判断ios和android
This commit is contained in:
@@ -145,6 +145,8 @@ onMounted(() => {
|
||||
password.value = loginAccountData.password;
|
||||
}
|
||||
back_state.value = true;
|
||||
const systemInfo = uni.getSystemInfoSync();
|
||||
console.log(systemInfo);
|
||||
});
|
||||
// 跳进了登录页,禁止返回操作
|
||||
onBackPress(() => back_state.value);
|
||||
|
||||
Reference in New Issue
Block a user