From b244cce63fd69c4d4f96e55ac65707c78f07c273 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期三, 16 四月 2025 17:34:28 +0800
Subject: [PATCH] yi
---
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