From 0307175c4c3631fe68b4d0a3a921bc56678ba68b Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期二, 03 十二月 2024 09:13:42 +0800
Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/r/HangZhouMes

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

diff --git a/UI-Project/src/App.vue b/UI-Project/src/App.vue
index e15be3b..fad63a4 100644
--- a/UI-Project/src/App.vue
+++ b/UI-Project/src/App.vue
@@ -1,14 +1,23 @@
 <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