src/pages/map/index.vue
@@ -6,18 +6,15 @@ <script setup> onShow(() => { console.log(222); // #ifdef APP-PLUS console.log(111); plus.screen.lockOrientation("landscape-primary"); // plus.screen.lockOrientation("landscape-primary"); // #endif }); onHide(() => { console.log(123123); // #ifdef APP-PLUS plus.screen.lockOrientation("portrait-primary"); // plus.screen.lockOrientation("portrait-primary"); // #endif }); </script>