From b8b16d90fd13bcad5881a4562b5bbe96e576bd6b Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 03 八月 2022 16:27:56 +0800
Subject: [PATCH] 1.解决工单手动打印大二维码问题

---
 src/views/xtsy/index.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/views/xtsy/index.vue b/src/views/xtsy/index.vue
index 6efdb9f..506d056 100644
--- a/src/views/xtsy/index.vue
+++ b/src/views/xtsy/index.vue
@@ -118,6 +118,8 @@
     }
   },
   created() {
+    console.log(document.documentElement.clientHeight, 1)
+    console.log(document.documentElement.clientWidth, 2)
   },
   mounted() {
     window.addEventListener('resize', this.getHeight)
@@ -128,8 +130,9 @@
     // 鑾峰彇椤甸潰楂樺害
     getHeight() {
       this.$nextTick(() => {
-        this.mainHeight = window.innerHeight - 200
-        this.tableHeight = this.mainHeight - 100
+        this.mainHeight = window.innerHeight - 120
+        // this.mainHeight = window.innerHeight - 200
+        // this.tableHeight = this.mainHeight - 100
       })
     },
     handleEcharts() {

--
Gitblit v1.9.3