src/subPackages/droneConsole/index.vue
@@ -85,12 +85,14 @@ onShow(() => { // #ifdef APP-PLUS plus.screen.lockOrientation("landscape-primary"); plus.navigator.setFullscreen(true); // 加入全屏 plus.screen.lockOrientation("landscape-primary");//横屏 // #endif }); onHide(() => { // #ifdef APP-PLUS plus.navigator.setFullscreen(false); plus.screen.lockOrientation("portrait-primary"); // #endif });