From 3dc278f10a4c3e3db7ce3a445bed710bdc88916e Mon Sep 17 00:00:00 2001
From: xiebin <123456>
Date: Wed, 16 Nov 2022 17:10:51 +0800
Subject: [PATCH] 基地信息坐标有误差的问题
---
src/App.vue | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index f67d365..1ecbf7a 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,6 +4,16 @@
</div>
</template>
+<script>
+import devicePixelRatio from '@/utils/devicePixelRatio'
+
+export default {
+ created () {
+ new devicePixelRatio().init()
+ }
+}
+</script>
+
<style lang="scss">
#app {
width: 100%;
@@ -12,7 +22,7 @@
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
- text-align: center;
+ // text-align: center;
color: #2c3e50;
}
</style>
--
Gitblit v1.9.3