罗广辉
2025-11-04 9e6ecb483298949bc8f4c1b083e5daa653e000bb
feat: app横屏
1 files modified
22 ■■■■ changed files
src/subPackages/droneConsole/index.vue 22 ●●●● patch | view | raw | blame | history
src/subPackages/droneConsole/index.vue
@@ -83,17 +83,17 @@
})
// 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.screen.lockOrientation("landscape-primary");
  // #endif
});
onHide(() => {
  // #ifdef APP-PLUS
  plus.screen.lockOrientation("portrait-primary");
  // #endif
});
</script>
<style scoped lang="scss">