From 5efd01db698683e95a63053da43aaa08fa35a185 Mon Sep 17 00:00:00 2001 From: 叶松 <2217086471@qq.com> Date: 星期五, 01 十二月 2023 11:20:28 +0800 Subject: [PATCH] Merge branch 'master' of http://111.30.93.211:10101/r/supipe --- web/src/views/MixingInfo/mixRatio.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/web/src/views/MixingInfo/mixRatio.vue b/web/src/views/MixingInfo/mixRatio.vue index 0662aa1..075a28a 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,6 +98,10 @@ $html.style.fontSize = `${fontsize}px` } }, + beforeDestroy() { + let $html = document.getElementsByTagName('html')[0] + $html.style.fontSize = '' + }, methods: { async getLists() { const params = { -- Gitblit v1.9.3