From 0ece4e0ed07f412178150c3badaa2ce49cb52e86 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期一, 02 十二月 2024 09:30:13 +0800
Subject: [PATCH] 使用sqlserver 移除mysql代码

---
 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