From dee6baad3764de0db47e80bc69bc9e4ca0f463cf Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 24 一月 2025 17:13:35 +0800
Subject: [PATCH] 34

---
 src/App.vue |   14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/src/App.vue b/src/App.vue
index 026a1fa..7fe1997 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,17 +1,7 @@
 <script setup lang="ts">
-import { onMounted,onUnmounted } from "vue";
+import { ref } from "vue";
 import deviceView from "./components/deviceView.vue";
-onMounted(()=>{
-  console.log(window.plus)
-  if (window.plus) {
-      plus.screen.lockOrientation('landscape'); // 锁定横屏
-  }
-})
-onUnmounted(()=>{
-  if (window.plus) {
-        plus.screen.unlockOrientation(); // 解锁屏幕方向
-      }
-})
+
 </script>
 
 <template>

--
Gitblit v1.8.0