From 65794dc7e99595fb05b9374886417fb0932ffe83 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Wed, 05 Nov 2025 15:05:05 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/subPackages/droneConsole/index.vue | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/subPackages/droneConsole/index.vue b/src/subPackages/droneConsole/index.vue
index 434997b..a745229 100644
--- a/src/subPackages/droneConsole/index.vue
+++ b/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
});
--
Gitblit v1.9.3