From e14730d85fa4c784e7f3555d35a1c8b057b1d383 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期一, 09 十二月 2024 17:57:08 +0800
Subject: [PATCH] 1、fixbug:钢化小片表状态更新 2、中空校验 3、磨边发送宽高改为磨边前
---
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