From ed722acfaf6f10ba2e6c3e1b4d68a2552bdde245 Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期三, 19 三月 2025 16:51:48 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 UI-Project/src/App.vue |   20 +++++++++-----------
 1 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/UI-Project/src/App.vue b/UI-Project/src/App.vue
index 98d1a20..85d5b3e 100644
--- a/UI-Project/src/App.vue
+++ b/UI-Project/src/App.vue
@@ -4,19 +4,17 @@
 <script setup>
 import {onMounted} from 'vue'
 import DevicePixelRatio from '@/utils/evicePixelRatio.js';
-
 // 瀹氫箟涓�涓嚱鏁版潵璋冩暣 body 鐨勭缉鏀炬瘮渚�
-function bodyScale() {
-  const deviceheight = document.documentElement.clientHeight;
-  const scale = deviceheight / 740;
-  document.body.style.zoom = scale;
-}
-
+// function bodyScale() {
+//   const deviceheight = document.documentElement.clientHeight;
+//   const scale = deviceheight / 740;
+//   document.body.style.zoom = scale;
+// }
 // 鍦ㄧ粍浠舵寕杞芥椂鎵ц
-onMounted(() => {
-  new DevicePixelRatio().init();
-  bodyScale();
-});
+// onMounted(() => {
+//   new DevicePixelRatio().init();
+//   bodyScale();
+// });
 </script>
 <style scoped>
 /* 浣犵殑鏍峰紡鍐呭 */

--
Gitblit v1.8.0