From a5771725ac324c3dae366e6fcc38055b39ea4386 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期四, 12 十二月 2024 08:58:50 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
UI-Project/src/App.vue | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/UI-Project/src/App.vue b/UI-Project/src/App.vue
index 98d1a20..fad63a4 100644
--- a/UI-Project/src/App.vue
+++ b/UI-Project/src/App.vue
@@ -6,17 +6,17 @@
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