From ed4e46ed9dfec8d1719dac63d10292c973f9c45c Mon Sep 17 00:00:00 2001
From: 张磊磊 <201175954@qq.com>
Date: 星期二, 05 十二月 2023 17:42:03 +0800
Subject: [PATCH] 11

---
 web/src/views/MixingInfo/mixing.vue |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/web/src/views/MixingInfo/mixing.vue b/web/src/views/MixingInfo/mixing.vue
index ce3481b..5f0c01d 100644
--- a/web/src/views/MixingInfo/mixing.vue
+++ b/web/src/views/MixingInfo/mixing.vue
@@ -46,7 +46,7 @@
             fn()
             return fn
         })(),
-        1000 * 60 * 5
+        1000 * 60 * 1
     )
     if (Vue) {
         Vue.$once('hook:beforeDestroy', function () {
@@ -100,6 +100,10 @@
             $html.style.fontSize = `${fontsize}px`
         }
     },
+    beforeDestroy() {
+        let $html = document.getElementsByTagName('html')[0]
+        $html.style.fontSize = ''
+    },
     methods: {
         getLists() {
             const percentArr = Object.keys(this.percents)
@@ -133,7 +137,7 @@
     }
 }
 </script>
-<style scoped>
+<style lang="scss" scoped>
 li {
     list-style: none;
 }
@@ -254,7 +258,7 @@
                 min-height: 480px;
                 text-align: center;
 
-                >p {
+                > p {
                     position: absolute;
                     left: 50%;
                     top: 21%;

--
Gitblit v1.9.3