feat:app嵌套h导航栏

This commit is contained in:
LHY\18810
2025-03-16 12:16:13 +08:00
parent a93505af74
commit cc4e202808
3 changed files with 5 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ onMounted(async () => {
// 设置系统状态栏明暗主题
appBridge.setStatusBarStyle('light');
// 设置禁止原生返回
// appBridge.takeOverAndroidBack();
appBridge.takeOverAndroidBack();
}
});
</script>

View File

@@ -315,7 +315,6 @@ export default {
if (canGoBack) {
router.go(-1);
} else {
this.takeOverAndroidBack();
this.navigateBack();
}
}

View File

@@ -31,6 +31,7 @@ onMounted(async () => {
});
function create () {
show.value = true;
}
</script>