From c9e945807866c97d1b0f78dc8d50fb80cbdfbf74 Mon Sep 17 00:00:00 2001
From: shishuaikang <280848880@qq.com>
Date: 星期一, 04 十二月 2023 13:37:19 +0800
Subject: [PATCH] 大屏页面style样式添加scss

---
 web/src/views/MixingInfo/mixRatio.vue |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/web/src/views/MixingInfo/mixRatio.vue b/web/src/views/MixingInfo/mixRatio.vue
index 0662aa1..b4a9937 100644
--- a/web/src/views/MixingInfo/mixRatio.vue
+++ b/web/src/views/MixingInfo/mixRatio.vue
@@ -45,7 +45,7 @@
             fn()
             return fn
         })(),
-        1000 * 60 * 5
+        1000 * 60 * 1
     )
     if (Vue) {
         Vue.$once('hook:beforeDestroy', function () {
@@ -98,8 +98,12 @@
             $html.style.fontSize = `${fontsize}px`
         }
     },
+    beforeDestroy() {
+        let $html = document.getElementsByTagName('html')[0]
+        $html.style.fontSize = ''
+    },
     methods: {
-        async getLists() {
+        getLists() {
             const params = {
                 pageNum: --this.type, // 传 0 1对应两个页面
                 pageSize: 1,
@@ -135,7 +139,7 @@
     }
 }
 </script>
-<style scoped>
+<style lang="scss" scoped>
 .wrap {
     position: absolute;
     width: 100%;
@@ -235,7 +239,7 @@
     .row.line {
         display: flex;
 
-        >div {
+        > div {
             flex: 1;
         }
     }

--
Gitblit v1.9.3