From ae1459d90f53ac81177e75790d859c6a12e7ed54 Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期三, 12 十一月 2025 11:09:10 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10105/r/YiWuProject

---
 UI-Project/src/App.vue |   23 +++++++++++++++--------
 1 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/UI-Project/src/App.vue b/UI-Project/src/App.vue
index e15be3b..85d5b3e 100644
--- a/UI-Project/src/App.vue
+++ b/UI-Project/src/App.vue
@@ -1,14 +1,21 @@
 <template>
-
   <router-view></router-view>
-
 </template>
 <script setup>
-import {ref} from 'vue'
-import { RouterView } from 'vue-router'
-
+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;
+// }
+// 鍦ㄧ粍浠舵寕杞芥椂鎵ц
+// onMounted(() => {
+//   new DevicePixelRatio().init();
+//   bodyScale();
+// });
 </script>
-
 <style scoped>
-
-</style>
+/* 浣犵殑鏍峰紡鍐呭 */
+</style>
\ No newline at end of file

--
Gitblit v1.8.0