From 88903b37521e91e5bcc2e6ef6d8e3b1a1f00599c Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期四, 19 十二月 2024 11:07:24 +0800
Subject: [PATCH] 1、卧式理片前端数据推送 分1、2号线,新增任务栏
---
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