解决apt上不能横屏的问题

This commit is contained in:
2025-08-21 13:20:42 +08:00
parent f387898fe4
commit 1e0218228b
3 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
export default {
onLaunch: function() {
// #ifdef APP-PLUS
plus.screen.lockOrientation('landscape-primary');
plus.screen.lockOrientation('landscape-primary');
plus.navigator.setFullscreen(true);
// #endif
},
@@ -11,7 +11,7 @@
},
onUnload() {
// #ifdef APP-PLUS
plus.screen.lockOrientation('landscape-primary');
plus.screen.lockOrientation('landscape-primary');
// #endif
}
}