From 5aeb8c60920f72382b57c81b3789b127a941f46a Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Sat, 08 Nov 2025 17:48:20 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/subPackages/droneConsole/index.vue |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/src/subPackages/droneConsole/index.vue b/src/subPackages/droneConsole/index.vue
index c357ebc..a745229 100644
--- a/src/subPackages/droneConsole/index.vue
+++ b/src/subPackages/droneConsole/index.vue
@@ -10,12 +10,10 @@
 import dayjs from "dayjs";
 import {useUserStore} from "@/store/index.js";
 
-const wayLineJodInfoId = ref(null)
+const queryParams = ref({})
 
 const viewUrl = computed(() => {
-  return getWebViewUrl('/DroneConsole', {
-    wayLineJodInfoId: wayLineJodInfoId.value,
-  })
+  return getWebViewUrl('/DroneConsole', queryParams.value)
 })
 
 function onPostMessage(data) {
@@ -81,21 +79,23 @@
 }
 
 onLoad((options) => {
-  wayLineJodInfoId.value = options.wayLineJodInfoId
+  queryParams.value = options
 })
 
 
-// onShow(() => {
-//   // #ifdef APP-PLUS
-//   plus.screen.lockOrientation("landscape-primary");
-//   // #endif
-// });
-//
-// onHide(() => {
-//   // #ifdef APP-PLUS
-//   plus.screen.lockOrientation("portrait-primary");
-//   // #endif
-// });
+onShow(() => {
+  // #ifdef APP-PLUS
+  plus.navigator.setFullscreen(true); // 加入全屏
+  plus.screen.lockOrientation("landscape-primary");//横屏
+  // #endif
+});
+
+onHide(() => {
+  // #ifdef APP-PLUS
+  plus.navigator.setFullscreen(false);
+  plus.screen.lockOrientation("portrait-primary");
+  // #endif
+});
 </script>
 <style scoped lang="scss">
 

--
Gitblit v1.9.3