From 04b53440f419e937c567c5d4bdeff6387e194e82 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期一, 09 六月 2025 20:41:44 +0800
Subject: [PATCH] gx细节

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

diff --git a/src/App.vue b/src/App.vue
index 026a1fa..c67ad8e 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,17 +1,5 @@
 <script setup lang="ts">
-import { onMounted,onUnmounted } 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(); // 解锁屏幕方向
-      }
-})
+import { ref } from "vue";
 </script>
 
 <template>

--
Gitblit v1.8.0